#Thoxics

1 messages · Page 1 of 1 (latest)

sour grottoBOT
pine vault
#

Are you encountering an error saying that you can't delete the Product? Typically this happens once a Price has been associated with a Product as that makes the Product unable to be deleted.

heavy arch
#

Yes, I receive that message, how can I disassociate that price from the product and then delete it

pine vault
#

You can't disassociate the Price once it has been tied to a Product.

heavy arch
#

so I can't delete that product?

pine vault
#

I don't believe so.

heavy arch
#

what can i do if i no longer want to have that product?

pine vault
#

Not use it, it won't harm anything if it sits there unused. You can update all of the Price objects associated with the Product by changing active to false to make sure the Prices can't be used if you'd like to be extra cautious.
https://stripe.com/docs/api/prices/update?lang=python#update_price-active

heavy arch
#

ok,thx

pine vault
#

Any time!