The basket promotion object

The promotions object allows you to manage promotions for a basket.

Attributes
id integer
The unique id for the object.
type string
Can be: 'discount' or 'custom'.
amount positive float or zero
The amount of the discount.
discount object
The discount object if the promotion type is 'discount'.