Skip to main content

Create AWD Inbound Plan from Purchase Order

POST 

/api/purchase-orders/:purchase_order/awd-inbound-plan

Create a draft inbound plan that ships the purchase order's open lines from a supplier warehouse to the account's US AWD warehouse, then continue it with the AWD plan endpoints (readiness, eligibility, create order).

Required scope: purchase-orders:write

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

Body:

  • integration_instance_id (int, required): an Amazon account with AWD available (see Get AWD Plan Options for Purchase Order)
  • source_warehouse_id (int, required): one of the PO supplier's warehouses, with a complete address
  • name (string, required, ≤40): plan name

Response: draft_inbound_plan_id, integration_instance_id, and route, the SKU.io app path where the plan opens.

Requires the integrations.update permission. Token scopes: needs both the purchase-orders and integrations scopes.

Request​

Responses​

OK

Response Headers
    Content-Type