Skip to main content
GET
https://api.zenflow.com.ar
/
api
/
v1
/
orders
/
{id}
/
status
Get Order Status
curl --request GET \
  --url https://api.zenflow.com.ar/api/v1/orders/{id}/status \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "order_id": 123,
    "external_id": "<string>",
    "state_id": 123,
    "state_picking_id": 123,
    "updated_at": "<string>"
  }
}

Get Order Status

Retrieve the current status of an order.
Requires read:orders scope.

Request

GET /api/v1/orders/{id}/status

Path Parameters

id
integer
required
The order ID

Response

success
boolean
Whether the request was successful
data
object

Example

curl -X GET "https://api.zenflow.com.ar/api/v1/orders/12345/status" \
  -H "X-API-Key: zenflow_live_your_key"

Response

{
  "success": true,
  "data": {
    "order_id": 12345,
    "external_id": "ORD-001",
    "state_id": 2,
    "state_picking_id": 1,
    "updated_at": "2024-01-14T15:30:00Z"
  }
}

Order States

State IDNameDescription
1PendingOrder received, awaiting processing
2In ProgressOrder is being picked
3PackedOrder is packed and ready
4CompletedOrder shipped
5CancelledOrder was cancelled