post
https://api.cargoholic.com/v1/orders
Create order of different order types (SALES, INBOUND, RETURN, FORWARDING)
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This endpoint utilizes dynamic processing for warehouse routing. Depending on inventory availability and routing complexity, your request will return either a synchronous confirmation (201 Created) or an asynchronous acknowledgment (202 Accepted).
Response Status Codes
| Status Code | Status | Description |
|---|---|---|
201 | Created | Order Allocated: The order has been successfully received and immediately allocated to a warehouse. No further polling is required to confirm warehouse assignment. |
202 | Accepted | Processing Pending: The order has been successfully received and queued, but warehouse processing and allocation are still underway. |
Handling 202 Accepted ResponsesIf you receive a
202 Acceptedresponse, the order is safely stored but the fulfillment routing is not yet finalized. You must use the Get Order endpoint (GET /v1/orders/{order_no}) to poll the system and retrieve the updated order status and warehouse allocation details once processing completes.
Example Responses
{
"code": "SUCCESS",
"data": {
"id": "123-123123-123",
"order_no": "ORD-10293848",
"status": "WAREHOUSE_ALLOCATED",
...
}
}
{
"code": "SUCCESS",
"data": {
"id": "123-123123-123",
"order_no": "ORD-10293848",
"status": "RECEIVED",
...
}
}
401Unauthorized

