v1

latestOpenAPI 3.1.02026-07-2665153355.3 KB
Promo Codes

Retrieves a specific promo code.

get/coupons/coupon/{couponName}/promo-code/{promoCodeName}

Response

Promo code retrieved successfully.

namestring

Promo code name.

activeboolean

Whether the promo code is active.

maxRedemptionsinteger

Maximum number of times this promo code can be redeemed.

createdAtstring date-time

Timestamp when the promo code was created.

updatedAtstring date-time

Timestamp when the promo code was last updated.

redemptionsinteger

Number of times this promo code has been redeemed.

Example response

{
  "name": "swx1",
  "active": true,
  "maxRedemptions": 50,
  "createdAt": "2025-01-22T15:58:24.116Z",
  "updatedAt": "2025-01-25T08:44:26.668Z",
  "redemptions": 10
}