Return Errors
Error Code | Description |
---|---|
ERROR_CREATE_ORDER_RETURN_ITEM | The request tried to create a return against an order, but one of the items in the return could not be created. The request was rejected. Corrective action: Check all input parameters. |
ERROR_GET_ORDER_RETURN | The request tried to retrieve a return on an order, but the order was not found. The request was rejected. Corrective action: Use the ID of a valid return, a string starting with 'orre'. |
ERROR_MISSING_ORDER_ID | The request attempted an operation that requires an order, but the order was not found. The request was rejected. Corrective action: Use the ID of a valid order, a string starting with 'order'. |
ERROR_RETURN_ORDER_INVALID_ITEM_QUANTITY | The request tried to create a return against an order, but the quantity was missing or not a positive integer, or the item was already returned, or the item in the return does not match any item in the order. The request was rejected. Corrective action: Check all input fields. |
ERROR_RETURN_ORDER_INVALID_ORDER | The request tried to create a return against an order, but the order was not found. The request was rejected. Corrective action: Use the ID of an order that is in 'paid', 'fulfilled' or 'returned' status. |
ERROR_RETURN_ORDER_INVALID_SHIPPING_ITEM | The request tried to create a return against an order, but the SKU was not found. The request was rejected. Corrective action: Set 'parent' in each object in the 'items' array to the ID of an SKU in the order. |
ERROR_RETURN_ORDER_INVALID_TAX_ITEM | The request tried to create a return against an order, but the item was a tax item and was not found in the order. The request was rejected. Corrective action: Check all input fields. |
ERROR_RETURN_ORDER_RETURN_ITEM | The request tried to create a return against an order, but the order item was not found in the order. The request was rejected. Corrective action: Check all input fields. |