Picks multiple incoming orders in a single request.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Up to 100 incoming orders can be picked in a single request. Each entry must include id or control_number to identify the order — when both are provided, id is used.
The pick fields (items, update_stock, discount, discount_remarks, delivery_remarks, sent_date) are set per entry — they are not shared across the batch.
Within items, each entry identifies the package with either incoming_order_package (an existing package on the order) or supplier_package (to attach a new supplier package to the order at pick time) — exactly one of the two is required.
If any order in the request is invalid — duplicate identifier, unknown order, already in SENT status, item with both or neither of incoming_order_package and supplier_package, sent_date in the future, or negative actual_price — none of the orders are picked and the response lists every problem under orders. Orders already in PICKED status can be re-picked, which replaces the previously recorded quantities and remarks.
400One or more orders are invalid (for example, duplicate identifiers, unknown order, an order already in SENT, items with both or neither of incoming_order_package and supplier_package, sent_date in the future, or negative actual_price). Failures are returned under orders and no orders are picked.
403The user does not have permission to pick incoming orders, or a supplier package referenced in items.supplier_package is not accessible to the user.
404An incoming order or supplier package referenced in the request was not found.
409One or more orders are currently being processed by another request. Try again shortly.
