Get order states (batch)
get_orders_stateBatch-check the current state of multiple orders at once. Returns each order's status and flags unknown order IDs for easy error handling.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | Order ids to check (client-side ids used at creation). |