---
title: "Get a discount code by ID"
method: GET
path: "/DiscountCodes/{id}"
tags: ["DiscountCodes"]
---

# Get a discount code by ID

`GET /DiscountCodes/{id}`

## Path parameters

- `id` string, required

## Response `200`

OK

- DiscountCodeDto
  - `id` string
  - `code` string
  - `name` string
  - `reason` string, nullable
  - `category` string, nullable
  - `applyTo` string
  - `isActive` boolean
  - `discountType` string
  - `discountValue` union
    - number, double
    - string, double
  - `scope` string
  - `validFrom` string, date-time, nullable
  - `validTo` string, date-time, nullable
  - `maxUsageCount` union
    - integer
    - string, int32
  - `usageCount` union
    - integer
    - string, int32
  - `minimumOrderAmount` union
    - number, double
    - string, double
  - `maxDiscountAmount` union
    - number, double
    - string, double
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `404` — Not Found

---

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