Help me with creating Product Bundles with GraphQL Admin API

Help me with creating Product Bundles with GraphQL Admin API

wajahatanwar
Shopify Partner
15 1 5

Good day, I am using GraphQL Admin API to create Product fixed bundles on Shopify. It creates the bundle successfully but after I create it and I open the bundle product, it doesn't show it's components under the bundled products, what am I doing wrong here. Is there anything related to app configuration or I am missing something?

Replies 2 (2)

AZdeveloper
Shopify Partner
15 0 0

Shopify doesn’t natively support product bundles, so components won’t automatically appear under “Bundled Products.” To fix this:

  1. Use metafields in your GraphQL mutation to associate the bundle with its components.
  2. Ensure all component products are active and available.
  3. If using a third-party app, verify its configuration and required data structure.

Check your API payloads to ensure components are properly linked.

Feel Free to Reach out
Andy_B
Shopify Partner
1 0 0

Hi, I've run into a similar problem and I was hoping you can expand on the solution point 1) metafields. To clarify, this is to show the components that are part of a Bundle created via the GraphQL mutation so that when the Product page is open in the Shopify Admin, the user can see the components that are part of that bundle. Currently, I can see the box and my App name where that information should live but the list is empty. However, the Bundle Product works correctly and I can query it and fetch the components and list them in my app, I just can't figure out what Shopify wants so that the components appear on their Admin site? Any help would be appreciated.