Promos
Promo endpoint can be used to inquire about promo codes. If a promo code is active the endpoint returns details about the promo code.
Resource representation
{
"code": "hufierw821",
"discount": 20,
"valid_until": "2012-09-04 13:55:15"
}Properties
|
code readonly string
|
Promo code |
|
discount readonly number
|
Discount amount Minimum:> 0Maximum: =< 100 |
|
level readonly string
|
Promo code level. If pro, medici |
|
period readonly string
|
Promo code period. If month, year, 3-years |
|
gift read, write boolean
|
Set to |
|
valid_until read, write string
|
Date until promo code is valid. Format:date-time |
* denotes required field/parameter.