Sending Bundles via API?

Hi,

Are we not able to send bundled items via the API on ordercreate?

Hey @ChrisBradley :slight_smile:

This would be a limitation. Bundles can only be sold through the online store.

When creating orders through the API they are associated with your app.

Understood, curious if it is intentional or just an oversight?

Only wondering, as this limitation would increase API calls to shopify (If you are using native bundles), as when you get an order (bundle or not) you will need to call the productVariantComponents within productVariants (and also check if requiresComponents is true or false first) for each lineitem within the order to get the components.

Obviously there is some footwork on our end (we have already build this out this morning), just seems like it could be a drag on shopify side, that being said I am on plus so I have a fair amount of tokens.

I don’t think it would be an oversight as the limitations are documented, but as you describe, there’s room for it to be better optimized. I’ll pass this on to the product teams.

@KyleG-Shopify fair enough, that would be awesome.

I think also that limitation also affects sales channels use of those products (which makes sense in its current iteration).

thanks for your thoughts :slight_smile:

1 Like