Back to Developer changelog

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:

  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.