Get Discount
Get a discount by ID.
Scopes: discounts:read discounts:write
Path parameters
The discount ID.
The discount ID.
Response
Successful Response
Example response
{
"amount": 1000,
"currency": "usd",
"amounts": {
"eur": 900,
"usd": 1000
},
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}Changes
Changed in 1 of the 11 revisions of this API.4
- ○
added the required property
oneOf[subschema #1: DiscountFixedOnceForeverDuration]/max_redemptions_per_customerto the response with the200statusresponse-required-property-added
- ○
added the required property
oneOf[subschema #2: DiscountFixedRepeatDuration]/max_redemptions_per_customerto the response with the200statusresponse-required-property-added
- ○
added the required property
oneOf[subschema #3: DiscountPercentageOnceForeverDuration]/max_redemptions_per_customerto the response with the200statusresponse-required-property-added
- ○
added the required property
oneOf[subschema #4: DiscountPercentageRepeatDuration]/max_redemptions_per_customerto the response with the200statusresponse-required-property-added
- ○