Skip to main content

Reassign Coverage

POST 

//:domain/api/v2/inventory-allocations/:allocation/reassign-coverage

Manually (re)assigns a single allocation's PO-line coverage. Binding a PO line transitions the allocation to AwaitingReceipt and pins it as tight coverage (so a later automatic rebalance won't move it).

Body:

  • purchase_order_line_id (required, nullable integer) — the PO line to cover this allocation with. Pass null to clear coverage and revert the allocation to Planned.

Returns 422 when the PO line belongs to a different product, or the PO is draft/closed/cancelled/voided, or the line is already fully received.

Request

Responses

OK

Response Headers
    Content-Type