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:
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.
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
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 mymilestonecardbatch_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.