Promotion
Promotion applied to a row of an order: of the percentage_* and amount_* fields, only the one of its type is set
Promotional code used; null when the promotion applies without a code
Promotion description; null when the promotion has none
Price increase, in percent; null for the other types
Discount, in percent; null for the other types
amount_increase objectrequired
Price increase, as an amount before VAT; null for the other types
- Amount
- null
Taxable amount
Currency code: always EUR
VAT rate as a fraction, for example 0.22 for 22%
VAT (tax) amount
Total amount
amount_decrease objectrequired
Discount, as an amount before VAT; null for the other types
- Amount
- null
Taxable amount
Currency code: always EUR
VAT rate as a fraction, for example 0.22 for 22%
VAT (tax) amount
Total amount
amount_fixed objectrequired
Fixed price set by the promotion, before VAT; null for the other types
- Amount
- null
Taxable amount
Currency code: always EUR
VAT rate as a fraction, for example 0.22 for 22%
VAT (tax) amount
Total amount
applied_amount objectrequired
Difference between the base price and the price of the order row (base_price and price of OrderRow): negative when the promotion increases the price
- Amount
- null
Taxable amount
Currency code: always EUR
VAT rate as a fraction, for example 0.22 for 22%
VAT (tax) amount
Total amount
When the promotion was applied to the order
{
"promocode": "string",
"description": "string",
"percentage_increase": 0,
"percentage_decrease": 0,
"amount_increase": {
"amount": 0,
"currency": "string",
"tax_rate": 0,
"tax": 0,
"total": 0
},
"amount_decrease": {
"amount": 0,
"currency": "string",
"tax_rate": 0,
"tax": 0,
"total": 0
},
"amount_fixed": {
"amount": 0,
"currency": "string",
"tax_rate": 0,
"tax": 0,
"total": 0
},
"applied_amount": {
"amount": 0,
"currency": "string",
"tax_rate": 0,
"tax": 0,
"total": 0
},
"date_applied": "2024-07-29T15:51:28.071Z"
}