Create a new Discount

When adding a new Discount, the id field must be empty.
A new id is generated automatically and given back within the response object

Log in to see full request history
Body Params

Discount

string
required
length ≤ 64

Unique identifier for this discount

string
required
length ≤ 64

Name of this discount

integer

Describes the type of discount

integer

The percentage amount for this discount times 100, e.g 5000 equals 50%.
This is only effective if type equals 2.

integer

The discounted amount in smallest monetary unit (Cent/Rappen).
This is only effective if type equals 1.

boolean

If this is set, the amount can be set freely during the payment process.

string | null

An external PLU has no meaning within helloTESS! and can be used for your reference, e.g. matching external id's.

boolean

Is this discount active?

Responses

401

You are not unauthorized

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json