Skip to main content
Anchor to productVariantRelationshipBulkUpdate

productVariantRelationshipBulkUpdate

mutation

Requires write_products access scope. Also: The shop must have access to bundles feature.

Creates new bundles, updates component quantities in existing bundles, and removes bundle components for one or multiple ProductVariant objects.

Each bundle variant can contain up to 30 component variants with specified quantities. After an app assigns components to a bundle, only that app can manage those components.


Note

For most use cases, use productBundleCreate instead, which creates product fixed bundles. productVariantRelationshipBulkUpdate is for variant fixed bundles, where each variant has its own component configuration.


•[ProductVariantRelationshipUpdateInput!]!
required

The input options for the product variant being updated.


Was this section helpful?

Anchor to ProductVariantRelationshipBulkUpdatePayload returnsProductVariantRelationshipBulkUpdatePayload returns

Anchor to parentProductVariantsparentProductVariants
•[ProductVariant!]

The product variants with successfully updated product variant relationships.

•[ProductVariantRelationshipBulkUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?