The STATUS keyword, whether implemented as a filter or returned by the API, ties to a numeric code that enumerates the current condition of each order. You can find the definition of each code here:
code | enum | description |
---|---|---|
1 | UNSENT | Future orders that will be attempted to be processed when the Place date arrives |
3 | REJECTED | Orders are set to 'REJECTED' after the retry limit has been reached. |
4 | CANCELLED | Orders that were Cancelled before they were successfully processed |
5 | SUCCESS | Orders that were successfully processed |
6 | SEND_NOW | Orders set to this state will already have a future order created before the order placement process. |
9 | PENDING_BATCH_RESPONSE | Not relevant for API based OrderPlacement. Only for Merchants on Legacy File based Batch order Placement, when Ordergroove has sent the Order, and is awaiting a response file to know the final status of the order. |
10 | PENDING_VERIFICATION | Waiting on the confirmation from the Merchant or the Ecom that the Order was successfully processed |
11 | PENDING_PLACEMENT | Orders that are in the Ordergroove queue and will be attempted to be processed shortly |
12 | EXCEPTION_DURING_PLACEMENT_PREPARATION | Something broke in the process before the Order could be attempted to be processed |
13 | CONNECTION_ERROR_DURING_PLACEMENT | The connection borked during the placement attempt, so we are not sure if the order was processed or not. Depending on the configuration the order might be retried on the next placement. No retry limit. |
14 | RESPONSE_PROCESSING_ERROR | The batch or http response from the merchant was not understood by our system. This order is not retried. |
15 | GENERIC_ERROR_RESPONSE | A generic error was sent or defaulted by our system. Merchant sets number of times to retry. |
17 | MERGED | This order was merged with another order. To find the order, check the Order's extra data for the field 'merged_order_id'. |
18 | CREDIT_CARD_RETRY | The order failed with a 140 error code and is going through the credit card retry process. |