Generate Content Update Previews
POST/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/shipments/:plan_shipment/content-updates/generate
Start generating content update previews ("Adjust shipment") for a shipped shipment via the async SP-API generateShipmentContentUpdatePreviews operation — used to correct box contents / item quantities after the fact. Dispatches the tracked job "Generate FBA Content Update Previews: {plan name}" and returns its tracked_job_log_id for the tracked job log endpoints; once the job completes, fetch the previews via List Content Update Previews and apply one via Confirm Content Update Preview.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Boxes and items are passed through to Amazon in SP-API shape — only the load-bearing keys are validated locally; everything else is validated by Amazon (failures surface on the tracked job).
Fields:
boxes(array, required, min 1) — the full updated box list in SP-API shape:contentInformationSource,dimensions(length/width/height/unitOfMeasurement),weight(value/unit),quantity, anditems(msku/quantity/labelOwner/prepOwner, optional expiration)items(array, required, min 1) — the updated shipment item totals:items.*.msku(string, required, max 255)items.*.quantity(integer, required, min 0) — the new total shipped quantity for the MSKUitems.*.labelOwner/items.*.prepOwner/items.*.expiration— passed through to Amazon when provided
Errors:
- 404 — the shipment does not belong to this draft inbound plan
- 422 — validation failure (
boxes/itemsmissing or empty, item rows missingmsku/quantity)
Authentication: Bearer token (PAT).
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.