does the shopify bundler app put any kind of metadata on orders/line items to indicate the customer purchased a bundle? Our app needs to be able to recognize that line items in an order originated from a bundle.
Topic summary
Main point: Determining whether order line items came from a bundle. The answer identifies where this metadata exists.
Key details:
- The bundle linkage is stored in the lineItemGroup property on order.lineItem.
- This information is accessible only via the GraphQL API.
- It is not included in order webhooks.
Outcome/implications:
- Apps needing to recognize bundled items should query Orders via GraphQL and inspect lineItem.lineItemGroup.
- Webhook-based flows won’t receive this indicator directly and may require a follow-up GraphQL fetch.
Status: Resolved with a clear location and access method for the metadata; limitation noted for webhooks.
So, the place that the information lives is in the lineItemGroup property of order.lineItem.
Some notes:
- only available via graphql
- not present in order webhooks (hooray)