#pitcherojbh
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Do I need to make an individual product for each of the T-Shirts and individual price options for each of the product variants?
yes
Thanks, I thought so, is there a way to link the Child products to the Parents? I am using this API to create the products https://stripe.com/docs/api/products/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Or owuld it be easier to use https://stripe.com/docs/api/prices/create and suply the product_data to this call ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi ๐ jumping in as my teammate needs to step away soon. No, there is not a way to associate multiple products with each other in a hierarchy. Each Product can have multiple Prices associated with it though, so you could create one Product for the item you're selling and then create a Price object for each pricing option you want to offer.
Ok, thanks for letting me know so to confirm with the above scenario each T-Shirt size will need to be created as a product, then each product will need it's own price option. Can a price be attahced to more than one product?
No, Prices can only be associated with a single Product.
thank you ๐