Skip to main content

Available Purchase Orders

GET 

/api/inbound-shipments/:inbound_shipment/available-purchase-orders

Returns open purchase orders that have unreceived lines available to be added to this inbound shipment. Excludes POs where all lines are already fully assigned.

Authentication: Requires Bearer token.

Warehouse scope (SKU-8053): results are NOT restricted to the shipment's destination warehouse. The PO header destination_warehouse_id is only a pre-fill default — an inbound shipment carries its own authoritative destination, so any open, unreceived PO may be assigned regardless of its header warehouse. POs whose header warehouse matches this shipment's destination are surfaced first as the likeliest match, then ordered by id descending.

Request

Responses

Successful response