Get order states (batch)
get_orders_stateBatch-check order states by ID. Each order returns its current status, with unknown IDs reported individually instead of causing an error.
Instructions
Batch order tracking (POST /b2b/v1/orders/state). Returns {query_results: [{order_id, query_result, state?}]} — query_result reports per-order lookup success (an unknown id is reported here, not as an HTTP error). Known states: draft, checked_out, reserving, reserved, postpone_reserving, postponed, assembling, assembled, courier_assigned, delivering, closed, pending_cancel, canceled (the list is open-ended).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orders": "<orders>"
},
"name": "get_orders_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | Order ids to check (client-side ids used at creation). |