GraphQL API
Organization API
Organization / Orders

orderCancel

Cancel an order.

Arguments

1 argument
id•ID!

ID of the order.

Possible return

canceledAt•DateTimeTz

When the order was canceled.

createdAt•DateTimeTz!

When the order was created.

customsInvoiceNumber•String

Invoice number for customs

customsShipmentType•CustomsShipmentType

Shipment export type for customs

DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLE
id•ID!

Unique primary key.

integrationReference•String

Integration reference of the order

isUpdatable•Boolean!

Whether this order can be updated.

locale•String

BCP-47 locale used for communication templates

quantityAllocated•Int!

Quantity allocated in to fulfillments

quantityOrdered•Int!

Quantity ordered

quantityShipped•Int!

Quantity (already) shipped

quantityUnallocated•Int!

Quantity that is not (yet) allocated to a fulfillment

reference•String

Reference of the order

shippedAt•DateTimeTz

When the order was shipped.

status•OrderStatus!

Status of the order

ALLOCATEDCANCELEDCREATEDEXPECTEDPARTIALLY_SHIPPEDSHIPPEDUNALLOCATED
updatedAt•DateTimeTz!

When the order was last updated.

field•[String!]
message•String!