Assign variant groups to a variant family.

Attaches existing GROUP products to a FAMILY product so that the family's variant level attributes (VLA)
apply to them. Handles a single group as well as many - the family and the groups are named in the request
body - and copies every variant level attribute of the family onto the groups it assigns as part of this
call. To detach a group again, use DELETE /products/{id}/groups/{groupId}.

The target product must already be of type FAMILY; convert a SINGLE product first with
POST /products/{id}/groups. Every listed product must exist, must be of type GROUP and must not belong to
another family yet; a group already assigned to this family is skipped. If any of those checks fails the
whole call is rejected and nothing is assigned.

How many groups one family may hold is limited by an organization quota. That limit is checked group by
group while they are being assigned, so a call that runs into it fails with the groups processed before it
already assigned.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean
Defaults to false

Controls what happens when a group being assigned already has a value for one of the
family's variant level attributes:

false = Keep the existing group value and fill in only the empty ones. This is the default when the
parameter is omitted.

true = Overwrite the group's existing values with the family's values.

Body Params

Represents a request to bulk assign variant group products to a variant family product.

string
required
productIds
array of strings, unique
required
length between 1 and 100
productIds*
Responses
204

No Content

A confirmation that the specified variant group products were successfully assigned to the variant family product.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json