#Reid-database
1 messages · Page 1 of 1 (latest)
No worries! It does look busy in here.
So yes, prices can't be deleted once used as they are a historical representation and can't be duplicated/adjusted. Instead, you would archive/inactivate products/prices.
Ah, I see. I assume this can be done via the API as well?
Also, what constitutes a 'historical representation'? I had attempted testing deleting products / prices that had been used by creating test subscriptions via the dashboard, and was still able to delete those.
If the Price has been used with a transaction then it can't be deleted.
I can't remember if this holds true in test-mode as well.
I think it does... but there is a chance we allow for you to clean up your test data in this case
There is a nuclear option to delete everything, but that is not what we want.
And yes, you can inactivate via the API: https://stripe.com/docs/api/prices/update#update_price-active