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.
purchase-orders:readGrant 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
- 200
- 401
- 403
- 404
- 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.
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.