Due to Rye requiring Amazon Business accounts be connected to Rye via Amazon’s app marketplace, this mutation has been deprecated and will be removed in the future.
Cancellations can be handled via your Amazon Business account. See our Connecting your Amazon Business account on how to connect your Amazon Business account to Rye
Arguments
The
input
object contains the orderId.Returns
Any requested field from the
CancelOrderResponse
object.Example - request
Query arguments
GraphQL
Example - response
Response
Errors
If a cancellation request has a statusCANCEL_FAILED
the payload would look like below:
Response
Response