Get Discount
Get a discount by ID.
Scopes: discounts:read discounts:write
Documentation Index
Fetch the complete documentation index at: https://polar-dependabot-npm-and-yarn-docs-openapi-sampler-1-7-3.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
You can generate an Organization Access Token from your organization's settings.
Path Parameters
The discount ID.
Response
Successful Response
- DiscountFixedOnceForeverDuration
- DiscountFixedRepeatDuration
- DiscountPercentageOnceForeverDuration
- DiscountPercentageRepeatDuration
Schema for a fixed amount discount that is applied once or forever.
once, forever, repeating fixed, percentage 1000
"usd"
Map of currency to fixed amount to discount from the total.
{ "eur": 900, "usd": 1000 }Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the object.
Name of the discount. Will be displayed to the customer when the discount is applied.
Code customers can use to apply the discount during checkout.
Timestamp after which the discount is redeemable.
Timestamp after which the discount is no longer redeemable.
Maximum number of times the discount can be redeemed.
Number of times the discount has been redeemed.
The organization ID.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"

