discounts
public
post/v1/discounts/
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/discounts/
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: discounts:write)
- or HTTP bearer
- or HTTP bearer
Request body
Example request
{
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}Response
Discount created.
Example response
{
"amount": 1000,
"currency": "usd",
"amounts": {
"eur": 900,
"usd": 1000
},
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}Changes
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info