#Jonah Librach
1 messages · Page 1 of 1 (latest)
If the price has been used, they can't be deleted
Deleting a price can only be performed in Dashboard
It can't be done with API
I have 460 prices I need them cleaned up
So how to at least just list all the ids so I can archive them all real-quick
Stripe doesn't offer an APi for deleting the prices. Archiving a price is possible with Update Prices API and set active to false: https://stripe.com/docs/api/prices/update#update_price-active
Yup! You can use List Prices API: https://stripe.com/docs/api/prices/list
Will the archived prices carry over when I make the product in production mode?
I.e, "copy to production" in the dashboard?
How long do you expect 25k object deletion to take?
Will the archived prices carry over when I make the product in production mode?
Yes, it will be copied over
How long do you expect 25k object deletion to take?
I can't provide estimation