Support customers returning products that they do not want.
cancelOrder
mutation.returnOrder
mutation can be used to initiate a return for an Amazon order.
After calling the endpoint developers can listen to webhook events to get updates on the return status and shipping label data. If Amazon approves the return, a RETURN_APPROVED
webhook will be fired. This webhook contains a shippingLabelUrl
field, which you should send the shopper to so they can proceed with returning the item. Returns can also be listed from Order.returns
field, which is returned from queries like orderByID
.
In general, the workflow looks like this:
returnOrder
RETURN_REQUESTED
webhook event.
RETURN_APPROVED
webhook event.
shippingLabelUrl
field. You should send the shopper to this URL so they can print the shipping label and return the item.
RETURN_CLOSED
webhook event.
RETURN_DENIED
webhook event.
john.doe@rye.com
instead of orders@rye.com
). Using a group email could trip Shopify’s fraud detection algorithm and cause your order to fail.