IssueRaiser

How to delete a price using API

Hello, I want to delete a price inside a product, I can do it in the Stripe dashboard, but I can’t do this using API Code: ``` stripe.Price.delete("price_HLez6Zi58HejNP") ``` Result: ``` File "../src/payments/models.py", line 81, in delete stripe.Price.delete(self.stripe_id) AttributeError: type object 'Price' has no attribute 'delete' ``` Thanks

Posted by moskrc on May 26, 2020, 8:28 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

pricing (SaaS)

How to delete a price using API

moskrcMay 26, 2020, 8:28 AM

Hello, I want to delete a price inside a product, I can do it in the Stripe dashboard, but I can’t do this using API Code: ``` stripe.Price.delete("price_HLez6Zi58HejNP") ``` Result: ``` File "../src/payments/models.py", line 81, in delete stripe.Price.delete(self.stripe_id) AttributeError: type object 'Price' has no attribute 'delete' ``` Thanks

Comments (0)

No comments yet. Start the discussion.

Comment on this issue