creationTimestring or null(typeDateTimeNullable)^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0...required
date and time, when the discount coupon was created
Example:"2018-05-29T09:02:27+0200"
type of discount. Percentual (percentual) or absolute discount (fixed)
Enum:"percentual""fixed"
Example:"percentual"
amount of absolute discount (default eshop VAT rate is used)
Example:"21.00"
One of:
Coefficient applied to the price to get the remaining (discounted) price, i.e. price * ratio. From 0.0000 (100% discount, price reduced to zero) to 1.0000 (no discount).
string(typePriceRatio)
minimum price of order (default eshop VAT rate is used)
Example:"21.00"
currency of fixed discount.
Example:"CZK"
template used for the discount coupon creation.
Example:"1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed"
how the transport prices are calculated: according to the cart before discounts (beforeDiscount), according to the displayed value of the cart (cart), or free (free)
Enum:"cart""free""beforeDiscount"null
Example:"cart"
starting date of coupon validity
Example:"2017-04-04"
ending date of coupon validity
Example:"2017-04-04"
{ "code": "DC14585431", "creationTime": "2018-05-29T09:02:27+0200", "discountType": "percentual", "amount": "21.00", "ratio": "0.7800", "minPrice": "21.00", "currency": "CZK", "template": "1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed", "shippingPrice": "cart", "validFrom": "2017-04-04", "validTo": "2017-04-04", "reusable": true, "usedCount": 0, "remark": "Note: This is a test discount coupon" }