Information about an applied discount in the cart
Field | Type | Description |
---|---|---|
name | String | A String value |
description | String | A String value |
percentage | Float | |
fixed | Int | Fixed discount in cents |
type | String | String enumarion of 'first-order', 'general', 'coupon', 'user', 'offer' |
code | String | Optional. A String value |
minimum_order_price | Float | Optional. |
{
"name": "...",
"description": "...",
"percentage": 9.67,
"fixed": 19,
"type": "first-order",
"code": "...",
"minimum_order_price": 9.67
}