---
title: "Admin Update Promocode"
method: PUT
path: "/admins/promocodes/{id}"
tags: ["admins-promocodes"]
---

# Admin Update Promocode

`PUT /admins/promocodes/{id}`

admin update promocode

## Path parameters

- `id` string, required

## Request body

- V1UpdatePromocodeInput
  - `code` string
  - `discountPercentage` integer
  - `expiresAt` string
  - `offerIds` string[]

## Response `200`

ok

- string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `default` — Default response

## Changes

- **2021-03-15** `3e48347e9a6f` — 1 info
  - endpoint added
- **2021-02-04** `0677335332a8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/creatly/apis/creatly-api/changes/admins/promocodes/:id/put.md)

---

[API](https://skmtc.dev/creatly/apis/creatly-api.md) · [All operations](https://skmtc.dev/creatly/apis/creatly-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/creatly/creatly-api/revisions/513aaee36614/schema)
