How to delete a price using API

Open
#658 84 comments 39 reactions 1 assignee View on GitHub

@remi-stripe is already working on this.

Since May 26, 2020.

Assessment

This issue has not been assessed yet.

Description

feature-request future

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

Dominant language
Python
Stars
2k
Forks
539
Avg merge
2d 7h
Merged PRs (30d)
26

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stripe/stripe-python

All issues in stripe/stripe-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.