Set Product Channel Category Override
PUT/api/v2/products/:product/channel-categories/:salesChannel
Pin the product to a category on this channel — and optionally to a listing template — regardless of what its product type's map says. Replaces any existing override for the product on the channel. Responds with the product's resolution on the channel (provenance = override).
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token.
Fields:
sales_channel_category_id(required, integer) — a leaf category belonging to this channelsales_channel_product_template_id(nullable, integer) — a template of this channel that belongs to that category (or to no category); omit to use the category's default template
Each resolution carries:
product_id,sales_channel_idsales_channel_category—{id, name, path, external_id, is_leaf}, or null when nothing resolvedprovenance—override(the product's own override on the channel) ortype_map(its product type's map row on the channel); null when nothing resolvedproduct_type—{id, name, path}of the type the product resolves under (a variant with no type of its own uses its parent's), or nulltemplate—{id, name, is_default}: the template pinned by the override, else the resolved category's default template; null when there is noneoverride—{id, sales_channel_category_id, sales_channel_product_template_id, created_at}when an override is set, else nulltype_map_category— set only while an override is in force AND the type map points at a different category, so the difference can be shown; otherwise null
Requires permission: products.update
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.