Mutations
cancelOrder
Cancel an existing order.
This endpoint currently only supports canceling Amazon orders. Shopify support will come at a later date.
Arguments
input
required
The input
object contains the orderId.
Returns
CancelOrderResponse.*
Any requested field from the CancelOrderResponse
object.
Example - request
Query arguments
GraphQL
Calling the endpoint initiates a cancellation attempt. Response below is an example response for an amazon order
Example - response
Response
Errors
If a cancellation request has a status CANCEL_FAILED
the payload would look like below:
Response
The error field will display errors not related to actual status of a cancellation request.
Response
Was this page helpful?