---
title: "Get coupon code by ID"
method: GET
path: "/coupon-codes/{id}"
tags: ["Coupon Codes"]
---

# Get coupon code by ID

`GET /coupon-codes/{id}`

## Path parameters

- `id` string, required — A unique identifier for this coupon code.

## Response `200`

OK

- object
  - `couponCode` CouponCode, required — coupon-code
    - `id` string, required — A unique identifier for this coupon code.
    - `createdAt` string, date-time, required — Timestamp in ISO 8601 format when this coupon code was created.
    - `updatedAt` string, date-time, required — Timestamp in ISO 8601 format when this coupon code was last updated.
    - `name` string, required — The code string that customers enter to redeem the coupon.
    - `active` boolean, required — Whether this coupon code is currently enabled for use.
    - `couponId` string, required — Identifier of the coupon to which this code belongs.
    - `teamId` string, required — Team that created this coupon code.
    - `uses` integer — Number of times this specific coupon code has been used in successful orders.

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `412` — 412
- `422` — 422
- `429` — 429
- `500` — 500
- `501` — 501
- `503` — 503

---

[API](https://skmtc.net/session/apis/session-services-api.md) · [All operations](https://skmtc.net/session/apis/session-services-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/session/session-services-api/versions/bec3de84da9e/schema)
