Create FBA Inbound Plan from Purchase Order
POST/api/purchase-orders/:purchase_order/fba-inbound-plan
Create a supplier-source FBA draft inbound plan from the PO's open lines and return where the wizard opens (SKU selection).
purchase-orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body:
integration_instance_id(integer, required): the Amazon accountfba_warehouse_id(integer, required): one of that account's active FBA warehouses (the marketplace to send to)source_warehouse_id(integer, required): one of the PO supplier's warehouses, with a complete addressname(string, required, ≤40): plan name
Each open line becomes a plan item at its open quantity (ordered − received − quantity on live FBA/AWD plans for this PO), with the MSKU of the product's listing in that marketplace. The plan is created at skus_selected with purchase_order_id set.
Errors (422): the account or FBA warehouse doesn't match (integration_instance_id, fba_warehouse_id); the PO is not open or is a dropship PO, was partly received into another warehouse, or has nothing left to send (purchase_order); the ship-from isn't the supplier's or its address is incomplete (source_warehouse_id).
Requires the integrations.update permission. Token scopes: purchase-orders and integrations.
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 Entity
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.