---
title: "Fetch a discount code by ID"
method: GET
path: "/api/v1/discount_codes/{id}"
tags: ["Discount Codes"]
---

# Fetch a discount code by ID

`GET /api/v1/discount_codes/{id}`

## Request

- Base URL: `https://api.checkcherry.com`
- URL: `https://api.checkcherry.com/api/v1/discount_codes/{id}`
- Auth: none declared. Required headers: `Api-Key`

Returns the details of a single discount code, including its discount amount or percent, what it applies to, and its validity window.

**Required permission:** `offerings_read`

## Path parameters

- `id` integer, required

## Headers

- `Api-Key` string, required

## Response `200`

discount code found

---

[API](https://skmtc.dev/checkcherry/apis/check-cherry-business-api.md) · [All operations](https://skmtc.dev/checkcherry/apis/check-cherry-business-api/llms.txt) · [OpenAPI document](https://skmtc.dev/checkcherry/apis/check-cherry-business-api/revisions/84a9aabdf519?raw)
