This method is in Alpha and may change in the future.
Assigns one or more products to a product group.
After a product is assigned to a group, the product's choice for the group's groupingCustomizationId is derived automatically and surfaced under the group's members array. Sibling product cards in the storefront gallery and product page are powered by this membership.
Each product can belong to only one product group at a time. Duplicate IDs in the request are de-duplicated. Products already in the group are returned as successes with no change.
The response contains a per-product result. A product that doesn't exist is returned as a failure with PRODUCT_NOT_FOUND. If assigning the requested products would exceed the group's maximum member count, the entire request fails with MEMBER_LIMIT_EXCEEDED and no products are assigned.
To remove products from a group, call Unassign Products from Product Group.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.