Generate FNSKU Labels (3PL Portal)
POST/api/amazon/:integrationInstance/draft-inbound-plans/fulfillment-portal/:token/fnsku-labels
Generate FNSKU (MSKU) item labels on demand from the anonymous 3PL/supplier portal. Token-gated — no bearer auth (tenant.public-portal middleware); returns 404 when the token is expired, rotated, or revoked.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Runs Amazon's synchronous createMarketplaceItemLabels for the requested MSKU quantities and returns the short-lived label document url (open/download promptly — Amazon expires it) plus its expiration. The print is recorded in the label audit trail with no user (marking a portal print), a fnsku_labels_generated portal event is logged, and a durable copy is auto-attached to the packet's FNSKU Labels document.
Body fields:
label_type(required):STANDARD_FORMAT(letter/laser sheets) orTHERMAL_PRINTINGpage_type(required): one of Amazon's createMarketplaceItemLabels page types —Letter_30,A4_21,A4_24,A4_27,A4_44_48x25,A4_24_66x35,A4_24_64x33,A4_40_52x29,A4_24_70x36,A4_24_70x37,A4_24imskus(required, min 1): array of{msku, quantity}— everymskumust belong to the plan (422 otherwise),quantity≥ 1
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.