Skip to main content
Log inSign up

Query bundle components on SFAPI

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:

  1. requiresComponents - A boolean field which is set to true when the variant can only be purchased as a parent bundle with components.
  2. components - List of bundles components included in the variant considering only fixed bundles.
  3. groupedBy - List of bundles that include this variant considering only fixed bundles.

Learn more about Bundles on Shopify.dev.

Was this section helpful?