v1

latestOpenAPI 3.0.12026-07-249297145.2 KB
Messages

Get promotional codes

The method returns a list of all available promotional codes as JSON string.

get/api/v1/promocodes

Query parameters

typestring

Promo code type

inUseboolean

When 'true', the promo code has been used, when 'false', the promo code has not been used

activeDueDaysinteger

The days left for promo codes to remain active<br/>(activeDueDays=7 means: the promo code remains active for the following 7 days, starting from tomorrow)

discountinteger

Discount received with the promo code

Response

Promocodes list as json string