Anchor to orderDeleteorder
mutationorder Delete
Requires 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 mutation instead.
Caution
This action is irreversible. You can't recover deleted orders.
Caution:
This action is irreversible. You can't recover deleted orders.
Caution: This action is irreversible. You can't recover deleted orders.
Anchor to Arguments
Arguments
- orderId (ID!)
- Anchor to orderIdorder•ID!
Id required The ID of the order to be deleted.
Was this section helpful?
- deletedId (ID)
- userErrors ([OrderDeleteUserError!]!)
- Anchor to deletedIddeleted•ID
Id Deleted order ID.
- Anchor to userErrorsuser•[Order
Errors Delete User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?