---
title: "Validate a promotion code"
method: POST
path: "/api/v1/promotion-codes/validate-code"
tags: ["Promotion Codes"]
---

# Validate a promotion code

`POST /api/v1/promotion-codes/validate-code`

Validates that the given code is unique and can be used for a new promotion. Required scope: `promotion-codes:read` </br>Organization authorization: `supported`

## Request body

- ValidateCodeRequestDto
  - `code` string, required — The promotion code to validate

## Response `204`

Promotion code is valid

## Other responses

- `400` — The request is invalid
- `401` — Consumer with provided credentials was not found
- `403` — Operator doesn't have access to resource
- `404` — Entity with the provided id was not found

---

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