Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Request body for creating a discount.
code
is optional; if not provided, we generate a random 16-char code.
Response
Created discount
The response is of type object
.