The following errors are specific to the Order module.

The %s in error messages are placeholders used to indicate where a specific value, such as an Order ID or an item name, will be inserted when the actual error message is displayed.

For example, if the error is “The order with order ID %s is not in amendable status,” and the Order ID is 12345, the displayed message would become “The order with order ID 12345 is not in amendable status.”

ModuleError CodeMessage
OrderORDER-2001The order cannot be cancelled as no line items are available for cancellation.
OrderORDER-2002The order with order ID %s is not in amendable status.
OrderORDER-2003The order status is already CONFIRMED or CANCELED.
OrderORDER-2004The order has already been cancelled.
OrderORDER-2005A valid payment counter must be present for this operation.
OrderORDER-2006An authorization request is already in progress for this order.
OrderORDER-2007No refundable amount was found for the order.
OrderORDER-2008The appeasement amount is greater than the refundable amount.
OrderORDER-2009Order cannot be cancelled: no line items available for cancellation.
OrderORDER-2010Order cannot be cancelled: requested line item %s not eligible for cancellation.
OrderORDER-2011Order cannot be cancelled: requested line item %s does not exist or is already cancelled.
OrderORDER-2012Order cannot be cancelled: requested quantity not available for cancellation for line Item %s.
OrderORDER-2013Requested refund amount not available for item with lineItemId %s.
OrderORDER-2014Shipping update failed: No items in this order are eligible for a shipping address change.
OrderORDER-2015The order is no longer eligible for shipping info updates.
OrderORDER-2016The order is not eligible for adding new items: %s.
OrderORDER-2021Exchange item quantity does not match the item’s pending exchange quantity: %s.
OrderORDER-2022Exchange item quantity does not match the item’s ordered quantity: %s.
OrderORDER-2023Exchange item quantity does not match the item’s pending quantity: %s.
OrderORDER-2031Return quantity exceeds available quantity for item %s.
OrderORDER-2032Return amount exceeds invoiced amount for item %s.
OrderORDER-2033Total refund amount is greater than the charged amount.
OrderORDER-2034Return amount exceeds available refund amount for item %s.
OrderORDER-2035Items received in return request do not match the original order details.
OrderORDER-2036Invalid refund status for operation.
OrderORDER-2037Return cannot be processed as order is in invalid state.
OrderORDER-2038Exchange validation failed: %s.
OrderORDER-2039Refund amount exceeds available payment amount.