Attributes

Attribute

Type

Description

displayName

string required

A display name for the discount. Limited to 128 characters.

amount

Money required

The discount amount.

Example Discount object

{
  "displayName": "New Customer Coupon",
  "amount": {
    "amount": "29.99",
    "currency": "GBP"
  }
}