Query bundle components on SFAPI
API
Effective July 01, 2024
As of GraphQL Storefront API version 2024-07, you can query bundles components and bundle parents on ProductVariant object.
This API change introduce three new fields on the ProductVariant object:
requiresComponents
- A boolean field which is set to true when the variant can only be purchased as a parent bundle with components.components
- List of bundles components included in the variant considering only fixed bundles.groupedBy
- List of bundles that include this variant considering only fixed bundles.
Learn more about Bundles on Shopify.dev.