Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Query bundle components on SFAPI

API

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.