Messages

Get the number of available promotional codes

The method returns the number of available promo codes.

get/api/v1/promocodes/count

Request

  • Base URL: https://yespo.io (the document declares no server; this is the origin it was published from)
  • URL: https://yespo.io/api/v1/promocodes/count
  • Auth: HTTP basic

Query parameters

typestring

Promo code type

activeDueDaysinteger

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

discountinteger

Promo code discount amount

Response

default response

Changes

No recorded changes to this operation across all 1 revision of this API.