Promo Codes

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

Retrieves a specific promo code.

Request

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
}

Changes

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