Direct Integration
Objects
Discount object

Discount object

Attributes

Attribute (all required)TypeDescription
namestringDiscount display name
codestringDiscount code name (i.e. TIPTOP15)
discountAmountintThe discount total amount in cents

Example

JSON
{
  "name": "Summer Sale Discount",
  "code": "SUMMER2024",
  "discountAmount": 1000
}