---
title: "Update Coupon"
method: PUT
path: "/api/admin/coupons/{coupon_id}"
tags: ["admin-coupons"]
---

# Update Coupon

`PUT /api/admin/coupons/{coupon_id}`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/coupons/{coupon_id}`
- Auth: HTTP bearer

Update a coupon.

## Path parameters

- `coupon_id` string, required

## Request body

- CouponUpdateRequest: Update a coupon.
  - `is_active` boolean, nullable
  - `max_redemptions` integer, nullable
  - `expires_at` string, date-time, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
