product Variant Relationship Bulk Update
Requires 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 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.
For most use cases, use instead, which creates product fixed bundles. is for variant fixed bundles, where each variant has its own component configuration.
For most use cases, use instead, which creates product fixed bundles. is for variant fixed bundles, where each variant has its own component configuration.
Note: For most use cases, use <a href="https://shopify.dev/docs/api/admin-graphql/latest/mutations/productBundleCreate"><code><span class="PreventFireFoxApplyingGapToWBR">product<wbr/>Bundle<wbr/>Create</span></code></a> instead, which creates product fixed bundles. <code><span class="PreventFireFoxApplyingGapToWBR">product<wbr/>Variant<wbr/>Relationship<wbr/>Bulk<wbr/>Update</span></code> is for <a href="https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-variant-fixed-bundle">variant fixed bundles</a>, where each variant has its own component configuration.
Arguments
- input ([ProductVariantRelationshipUpdateInput!]!)
- Anchor to inputinput•[Product
Variant Relationship Update Input!]! required The input options for the product variant being updated.
Anchor to ProductVariantRelationshipBulkUpdatePayload returnsProduct Variant Relationship Bulk Update Payload returns
- parentProductVariants ([ProductVariant!])
- userErrors ([ProductVariantRelationshipBulkUpdateUserError!]!)
- Anchor to parentProductVariantsparent•[Product
Product Variants Variant!] The product variants with successfully updated product variant relationships.
- Anchor to userErrorsuser•[Product
Errors Variant Relationship Bulk Update User Error!]! non-null The list of errors that occurred from executing the mutation.