#pitcherojbh
1 messages · Page 1 of 1 (latest)
default_price expects a price ID if I recall correctly, so you'd need to pass an existing price ID
Ah actually
If I don't add int he Price ID into default it creates the price
uhh no, spoke too soon. When you create a new product, you can create a new default price with default_price_data
https://stripe.com/docs/api/products/create#create_product-default_price_data
You can't do that with update endpoint. Update endpoint expects an existing price ID
https://stripe.com/docs/api/products/update#update_product-default_price