Skip to main content

List order ids by status

GET/client_api/v2/orders_by_status

The ids of your company's orders that have a shipment in the given status. Read each one with Get an order.

Query parameters

  • statusstring

    A shipment status, such as in_transit. List order statuses has every value.

Returns

Returns a list of order ids.

Errors

  • 401Unauthorized
    The token is missing, expired or invalid. Sign in again.
View as Markdown
GET /client_api/v2/orders_by_status
1curl -X GET "https://sandbox-api.vatit-stream.com/client_api/v2/orders_by_status?status=in_transit" \
2 -H "Authorization: Bearer $API_TOKEN"
Response
{
"order_ids": [
14
]
}
API ExplorerSandbox

Pick a call on the right and run it. Every call goes to the sandbox, so nothing is really shipped or charged. The answer appears here.