Map Products to SKU.io Products (Bulk)
PUT/api/amazon/:integrationInstance/products/map
Bulk-maps Amazon products to existing SKU.io products (or subscription_offering_id) in a single call. Used by the legacy import wizard.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Body (SalesChannelProductToSkuProductMappingCollectionData):
mapping(array, min 1) — each item is aSalesChannelProductToSkuProductMappingData:sales_channel_listing_id(string, required) — usually the Amazonseller_sku.mapped_sku(string|null) — SKU.ioproducts.skuto map to. Empty string is coerced to null (i.e. an unmap).product_listing_id(int|null, optional) — existingproduct_listingsrow to update.subscription_offering_id(int|null, optional) — map to a subscription offering instead of a product.
Validation: salesChannelProductMappingsValidation() enforces that FBA listings can only be mapped to standard, kit, or blemished product types, and that non-FBA listings additionally accept bundle. Returns HTTP 402 with an error message on violation.
Throws SalesChannelProductMappingException → HTTP 400 with the exception message.
Named route: amazon.products.map.
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.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
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.