#DanTheGoodman-delete-product-price
1 messages · Page 1 of 1 (latest)
api
Do you have request IDs that I can take a look at?
I am almost certain that this is expected behavior as deleting a product is only possible if it has no prices associated with it.
We recommend archiving it
ie. you can set it as active: false using the API
https://stripe.com/docs/api/products/update#update_product-active
I tried archiving the price though, and that failed because it was the default. So I need to archive the product? I assume that will archive the price too?
or at least not allow the price to be usable
Yeah I think you can try to archive the product first and then try archiving the price
I'll see what happens to the price when I archive the product, I have to imagine it will force that to be archived too?
I'm not sure off the top of my head, my apologies. I'd recommend testing it out to be 100% sure.