#invite4ever

1 messages · Page 1 of 1 (latest)

sick houndBOT
paper plank
#

Hi there, there's no product_data field in subscription update API, so you need to use /v1/products endpoint to create a product first and use its ID to update the subscription.

keen elbow
#

Can i create product with/v1/products like stripe creates automatically i mean, shadow product that is not displayed in all products list?

paper plank
#

You mean you want to achieve the product?

keen elbow
#

kinda, but like stripe creates for e.g this product id "product": "prod_MRUevALXnHbgp5", i don't see that product at Available or Archieved product lists.

paper plank
#

That's because this product was created via product_data during a checkout session, not explicitly created by you.

keen elbow
#

Ok, could be nice feature that upgrade/downgrade could create product (suggestion for future). Also one question what circumstances be if i will use always one product id everytime?

paper plank
#

We welcome feedback, please let Stripe support know what you think https://support.stripe.com/contact

#

It's really up to you, you can create an ad-hoc product every time, and you can also just create a product and reuse it.

keen elbow
#

Thank you for help