Reorder Allocation
POST/api/v2/inventory-allocations/:allocation/reorder
Moves a queued backorder (status planned or awaiting_receipt) within its product's release order. Stock arriving for the product is released to backorders in priority order.
orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Any move pins the moved backorder: when the queue is later re-sorted by demand date (on a purchase order cover, release or cancel), a pinned backorder keeps its place in line and every other backorder stays in date order around it. Only the moved backorder is pinned. The pin ends when the backorder leaves the queue, moves to another warehouse, or is sent back with back_to_date_order.
Body:
reorder_type(required) —move_to_top|move_to_bottom|move_up|move_down|move_above_id|back_to_date_orderoptions.above_id(integer, used bymove_above_id) — the backorder to take the place of; it and the rows after it move down one. Ignored unless it is a queued backorder of the same product.
A backorder with no priority (not queued) is returned unchanged. Returns the moved backorder. Each row: id, priority (1 = released first), is_priority_pinned (true when the backorder was moved by hand — the priority reshuffle keeps it at its place in line), priority_pinned_at, backorder_date, backordered_quantity, quantity, status (planned | awaiting_receipt), status_label, is_tight_coverage, demand_type (sales | manufacturing), source_number, source_id, manufacturing_order_id, demand_date, sales_order (null for manufacturing demand), sku, supplier, coverage (the covering purchase order line, or null), scheduled_at, created_at.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.