On August 30 improved error messages will go live for cancellation requests

On Monday, August 30, improved error messages will go live for rejected cancellation requests. This will go live for all API versions.

Previous error message
Previously, we returned the following generic error message when a cancellation request was rejected:
“Unable to cancel the order item, because part of the order is already handled”.

New improved error messages
When cancelling an orderItem that has already been cancelled, we will now return the following error message:
“Unable to cancel the order item, because the order item is already cancelled”.

When cancelling an orderItem that has already been shipped, we will now return the following error message:
“Unable to cancel the order item, because the order item has already been shipped”.

The improved error messages will allow API users to more specifically detect the cause of the failure and properly handle any follow-up actions.

For users that have built logic against the previous error message, this is a breaking change. Please update your implementation accordingly.

 

Geplaatst in Retailer API