---
title: "Get coupon by code"
method: GET
path: "/coupons/code/{code}"
tags: ["Coupons"]
---

# Get coupon by code

`GET /coupons/code/{code}`

Use when resolving a coupon by promo code (e.g. checkout or validation).

## Path parameters

- `code` string, required

## Response `200`

OK

- CouponResponse
  - `amount_off` string
  - `cadence` 'once' | 'repeated' | 'forever'
  - `coupon_code` string
  - `created_at` string, date-time
  - `created_by` string
  - `currency` string
  - `duration_in_periods` integer
  - `environment_id` string
  - `id` string
  - `max_redemptions` integer
  - `metadata` object
  - `name` string
  - `percentage_off` string
  - `redeem_after` string
  - `redeem_before` string
  - `rules` object
  - `status` 'published' | 'deleted' | 'archived'
  - `tenant_id` string
  - `total_redemptions` integer
  - `type` 'fixed' | 'percentage'
  - `updated_at` string, date-time
  - `updated_by` string

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

---

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