Skip to main content

List 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.

Required scope: purchase-orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Warehouse scope: 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

OK

Response Headers
    Content-Type