v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Coupons

List all coupon codes

Returns all codes associated with a coupon.

Note: Use this endpoint to retrieve the full list of codes for coupons with more than 1,000 codes. The GET /coupons/{coupon_id} endpoint returns a maximum of 1,000 codes.

get/coupons/{coupon_id}/codes

Path parameters

coupon_idstring required

The unique path identifier for the coupon.

Response

Successful response.

couponstring

Path identifier of the coupon.

codesstring[]

All coupon codes associated with the coupon.

Note: Codes are normalized to uppercase on storage and are always returned in uppercase, regardless of the case used when they were submitted.

Example response

{
  "coupon": "summer-sale-2026",
  "codes": [
    "SUMMER10",
    "SUMMER20",
    "SUMMER30"
  ]
}