---
title: "fetchPromoCode"
method: GET
path: "/promo-codes/{promo_code}"
tags: ["Promo Code"]
---

# fetchPromoCode

`GET /promo-codes/{promo_code}`

Fetch specified Promo Code

## Path parameters

- `promo_code` integer, required

## Response `200`

Success

- PromoCode
  - `adjustment_amount` number, double — Value to configure price adjustment when applied against an Item. Can reflect either a percentage or flat amount based on associated adjustment_type
  - `adjustment_type` 'percentage' | 'amount' — Specification of how adjustment_amount is applied
  - `applications_count` integer — Count of the number of times the promo code has been applied to Items still in a Cart or successfully transacted against
  - `code` string — Value of the Promo Code to entered on checkout
  - `ends_at` string, date-time, nullable — Date/time when the Promo Code can no longer be applied to purchases
  - `id` integer — Primary identifier of record
  - `is_active` boolean — Indicates whether Promo Code is active or not regardless of availability or date range
  - `is_general` boolean — Indicates whether Promo Code has a general designation, meaning it applies to all TicketTypes for its Campaign
  - `quantity` integer, nullable — Total number of Items against which the Promo Code can be applied (null implies unlimited applications)
  - `starts_at` string, date-time, nullable — Date/time when record can start being applied to purchase
  - `updated_at` string, date-time — Date/time of last record update

## Other responses

- `403` — Requester is not authorized to perform action
- `404` — Promo Code not found

---

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