Main issue: Retrieve the component products of a bundle via Shopify APIs, especially when the order contains a bundle.
What was tried/suggested:
Initial guidance: Use the Order API to get products, quantities, and prices from orders with bundles; use the Product API for product details (titles, variants, images).
Constraint raised: For bundles created by Shopify Fulfillment Network, the Order API returns only the bundle line item, not its component items.
Workarounds shared:
Metafields approach: Use Shopify order/variant metafields populated by the Simple Bundles app, which automatically writes bundle composition into metafields. Links to setup and access guides were provided. (Metafields = custom fields for storing extra data on resources.)
GraphQL example: A snippet querying orders → lineItems → lineItemGroup (e.g., title) was shared, which may help identify bundle grouping in order data.
Status:
No definitive native API method confirmed for extracting SFN bundle components directly from the Order API. Current actionable paths are app-driven metafields or exploring GraphQL lineItemGroup data. Discussion remains open.
Hello everyone, I am new on Shopify and I encounter a problem.
Is it possible to get the details of a bundle (so the information of the products that compose the bundle) by api please? either by the order or product api.
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
It is possible to retrieve the details of a bundle on Shopify using the API. You can use the Order API to retrieve the details of an order that includes a bundle, and from there, you can get the details of the products in the bundle. The Order API will return information such as the products in the order, their quantities, and their prices.
Alternatively, you can use the Product API to retrieve information about individual products in your store, including bundles. The Product API will return information such as the product title, description, variants, and images.
When I create an order from a bundle created by “Shopify Fulfillment Network” and I retrieve the info through the Order API, I just retrieve the bundle info and not what is in it. Can you help me on this point?
With Shopify order metafields, it will enable you to retrieve the bundle product information. Whenever a bundle is modified or removed in Simple Bundles, the respective bundle details are automatically included as metafields on the variant within Shopify.
Using the app, you can conveniently access these fields on your storefront. Here’s a walkthrough for more information: