Create a coupon

Creates a coupon

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Name of the coupon displayed to customers on for instance invoices or receipts.

number
0 to 100

Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.

int64
≥ 0

Fixed amount that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.

string

Name of the currency displayed to customers on for instance invoices or receipts.

number

Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.

date-time

Date after which the coupon can no longer be redeemed

metadata
object

A set of key-value pairs that you can attach to an object. It can be useful for storing additional information about the object in a structured format.

boolean

Taking account of the above properties, whether this coupon can still be applied to a customer.

promotionCodeData
object
required

The items to be used to create promotion code

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json