Create a discount
Creates a discount a cashier can apply at the register.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Discount value as a decimal string. For amount_off, this is in major/minor currency units (for example, "1.25"). For percentage_off, this is a whole-number percentage ("1.00" means 1%).
^[0-9]+(\.[0-9]+)?$"199.99"
How amount is applied: as a fixed monetary reduction or a percentage reduction.
amount_off, percentage_off Human-readable discount name, or null when the discount is unnamed.
Response
A fixed or percentage reduction a cashier can apply to an order at the register.
Unique identifier for the record.
Discount value as a decimal string. For amount_off, this is in major/minor currency units (for example, "1.25"). For percentage_off, this is a whole-number percentage ("1.00" means 1%).
^[0-9]+(\.[0-9]+)?$"199.99"
When the record was created.
Human-readable discount name, or null when the discount is unnamed.
How amount is applied: as a fixed monetary reduction or a percentage reduction.
amount_off, percentage_off When the record was last changed.