Skip to main content

refundOrder

Cancels an order and always forces a refund.

Notes:

  • Behaves identically to orderCancel but always forces a refund regardless of input.
refundOrder(
id: ID!
cancellationType: CancellationType!
items: [CancellationItemInput!]!
): CancelOrder!

Arguments

refundOrder.id ● ID! non-null scalar

The unique identifier of the order to cancel. Format: UUID

refundOrder.cancellationType ● CancellationType! non-null enum

The type of cancellation.

refundOrder.items ● [CancellationItemInput!]! non-null input

The items to be cancelled.

Type

CancelOrder object

Represents the result of an order cancellation.