Create Box Labels
POST/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/shipments/:plan_shipment/labels/box-labels
Generate box (carton) labels for a confirmed shipment via the Amazon Fulfillment Inbound v0 getLabels operation. Requires a shipment confirmation ID — confirm transportation first (422 otherwise). Returns the label document download URL synchronously and records the print in the audit trail.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Fields:
page_type(string, required, max 64) — v0 PageType, e.g.PackageLabel_Letter_6,PackageLabel_Thermal,PackageLabel_Plain_Paperlabel_type(string, optional, max 32, defaultUNIQUE) — v0 LabelTypebox_count(integer, optional, nullable, min 1) — number of package labels (v0 NumberOfPackages). Defaults to the number of boxes packed for this shipment when omitted
422 conditions:
- the shipment has no
shipment_confirmation_idyet (transportation not confirmed) - Amazon rejects the request or returns no label document (SP-API errors parsed per field)
Returns 404 when the shipment does not belong to the draft inbound plan.
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.