Delete a discount.
Scopes: discounts:write
discounts:write
Python
from polar_sdk import Polar with Polar( access_token="<YOUR_BEARER_TOKEN_HERE>", ) as polar: polar.discounts.delete(id="<value>") # Use the SDK ...
{ "error": "<string>", "detail": "<string>" }
You can generate an Organization Access Token from your organization's settings.
The discount ID.
Discount deleted.
Was this page helpful?