Name | Type | Description | Notes |
---|---|---|---|
amount | int | The amount to be deducted from the total sum of all payments, in cents. | |
code | string | Discount code. | |
type | string | It can be 'loyalty', 'campaign', 'coupon' o 'sign' | |
id | string | The discount line id | |
object | string | The object name | |
parent_id | string | The order id |