Skip to main content

Assign Attribute Groups

PUT 

/api/products/:productId/assign-attribute-groups

Sync attribute groups assigned to a product. This replaces all current attribute group assignments.

Authentication: Requires Bearer token.

Body fields:

  • attribute_groups_ids (required, array): array of attribute group IDs (must exist in attribute_groups table)

Request

Responses

Successful response