#nav
1 messages · Page 1 of 1 (latest)
You can either:
- Create both product and its price in advance; or
- Create a product in advance and creates price using
price_dataduring subscription creation: https://stripe.com/docs/api/subscriptions/create#create_subscription-items-price_data
Either way, a product has to be created first, but price can be created before or during subscription creation
Do products need to have a price defined even if it's going to change when creating the subscription?
And thanks for the help btw
If you create a product
- via API, a product can be created without default price.
- via dashboard, a product requires a default price.
alright, great. thanks for the help so late at night haha
No problem! Happy to help 😄