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


Example 1

    "name": "string",
    "description": "string",
    "percentage": 9.67,
    "fixed": 12,
    "type": "first-order",
    "code": "string"
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable