Skip to main content

orderCancel

Cancels an order.

Notes:

  • If the order has already been shipped, it cannot be canceled."
orderCancel(
id: ID!
cancellationType: CancellationType!
items: [CancellationItemInput!]!
): CancelOrder!

Arguments

orderCancel.id ● ID! non-null scalar

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

orderCancel.cancellationType ● CancellationType! non-null enum

The type of cancellation.

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

The items to be cancelled.

Type

CancelOrder object

Represents the result of an order cancellation.