How to Create a Bundle Item via Square Catalog API

Hi Square Team,

I see that the Square Item Library supports creating Bundle-type items. I would like to know how to create a Bundle item via the Catalog API.

Could you please provide guidance or example API requests showing how to structure a request to create a Bundle item using the Catalog API?

Thank you for your assistance!

Best regards,
Murphy

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Square Developer
Add a Catalog Item
Loyalty API Walkthrough 2

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Hello,

How do I create a Bundle-type item using the Square Catalog API? Could you provide an example of the API request payload and any important details to include when defining a Bundle item? MyMilestoneCard

Best Regard,
Tofu

Creating a Bundle item via the Square Catalog API involves creating a CatalogItem with the type set to BUNDLE. The key is to define the bundle components within the item_data.variations field. Each variation in the bundle should be a CatalogObject with the type set to ITEM_VARIATION. The item_variation_data for each component should specify the item_id of the individual item being bundled and the quantity of that item in the bundle. You’ll need to use a CreateCatalogItem request, which includes a mymilestonecard batch_upsert_catalog_objects request body. The request will contain the new CatalogItem for the bundle, and you’ll reference the existing CatalogObject IDs of the items you want to include in the bundle.

Regards,
Pearl