Assign product variant.

Attaches an existing product to a variant group as one of its variants, and propagates the group's variant level
attributes (VLAs) down to the newly assigned variant. The target group must already be a variant group — use
create_product_variant_group first to promote a product to a group.

Fails if the target is not a variant group, if the product being added is not a SINGLE product, or if that
product is already a variant of another group.

For more detailed information on how to work with the data model in Bluestone PIM, refer to our help
pages The data model.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The internal ID of the variant group to assign the product to.

Example: 634c26e14cedfd0001775e9f

string
required

The internal ID of the product to attach as a variant.

Example: 634c26e14cedfd0001775e9f

Query Params
boolean
Defaults to false

Controls how the group's variant level attributes are applied to the newly assigned variant when
the variant already has a value for one of them:

false = keep the variant's existing value, only fill in empty ones

true = overwrite the variant's existing value with the group's

If omitted, defaults to false.

Responses
204

No Content

The variant product was successfully assigned to the variant group product.

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