Discount

Each entry of order.discounts[].

Fields

Field Type Notes
id guid
name string
code string Optional — discount code, when triggered by code.
value number Amount applied (negative).
amountSaved number
type string e.g. FixedAmount, Rate.
trigger string e.g. Code, Total.
affectedItems array

Was this article helpful?