Skip to main content
mutation

Requires write_orders access scope. Also: The user must have delete_orders permission.

Permanently deletes an Order from the store.

You can only delete specific order types. Other orders you can cancel using the orderCancel mutation instead.


Caution

This action is irreversible. You can't recover deleted orders.


•ID!
required

The ID of the order to be deleted.


Was this section helpful?

Anchor to OrderDeletePayload returnsOrderDeletePayload returns

•ID

Deleted order ID.

•[OrderDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?