Skip to main content

Promo Code

{
"id": "integer",
"code": "string",
"name": "string",
"is_valid_now": "boolean",
"valid_from": "string",
"valid_to": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlyA unique integer value identifying this promo code
codestringfalseread-onlyA unique human readable code
namestringfalseread-onlyA name for this promo code
is_valid_nowbooleanfalseread-onlyIf true, the promo code is currently valid
valid_fromdatefalseread-onlyThe promo code is valid starting from this date
valid_todatefalseread-onlyThe promo code is valid till this date