---
title: "Changes to Update a coupon"
method: PUT
path: "/coupons/{code}"
---

# Changes to Update a coupon

`PUT /coupons/{code}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 14 revisions.

- **2026-11-05** `b216574b9612`: 1 breaking
- **2026-10-16** `fce1879654d8`: 2 warning, 3 info
- **2025-04-25** `86ccaf2d7c61`: 9 breaking, 1 warning, 1 info
- **2024-12-22** `e1b7ed77904e`: 1 breaking
- **2024-12-09** `d7f5a2be797e`: 3 breaking, 138 warning, 14 info

## Changes

- **2026-11-05** `b216574b9612`: 1 breaking
  - the `coupon/percentage_rate` request property type changed from `string, null` to `string, number, null`
- **2026-10-16** `fce1879654d8`: 2 warning, 3 info
  - added the new `SYP` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `TND` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `SYP` enum value to the request property `coupon/amount_currency`
  - added the new `TND` enum value to the request property `coupon/amount_currency`
  - added the non-success response with the status `405`
- **2025-04-25** `86ccaf2d7c61`: 9 breaking, 1 warning, 1 info
  - the request property `coupon/amount_cents` became not nullable
  - the request property `coupon/amount_currency` became not nullable
  - the request property `coupon/applies_to` became not nullable
  - the request property `coupon/applies_to/billable_metric_codes` became not nullable
  - the request property `coupon/applies_to/plan_codes` became not nullable
  - the request property `coupon/description` became not nullable
  - the request property `coupon/expiration_at` became not nullable
  - the request property `coupon/frequency_duration` became not nullable
  - the request property `coupon/percentage_rate` became not nullable
  - added the new `undefined` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `undefined` enum value to the request property `coupon/amount_currency`
- **2024-12-22** `e1b7ed77904e`: 1 breaking
  - the response property `coupon/terminated_at` became nullable for the status `200`
- **2024-12-09** `d7f5a2be797e`: 3 breaking, 138 warning, 14 info
  - the `coupon` request property type changed from no type to `object`
  - the response property `coupon/amount_currency` became nullable for the status `200`
  - the `coupon/amount_currency` response's property type changed from no type to `string` for status `200`
  - removed `#/components/schemas/CouponBaseInput` from the `coupon` request property `allOf` list
  - added the new `AED` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `AFN` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `ALL` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `AMD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `ANG` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `AOA` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `ARS` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `AUD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `AWG` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `AZN` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BAM` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BBD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BDT` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BGN` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BIF` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BMD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BND` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BOB` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BRL` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BSD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BWP` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BYN` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `BZD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CAD` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CDF` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CHF` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CLF` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CLP` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CNY` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `COP` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CRC` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CVE` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `CZK` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `DJF` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `DKK` enum value to the `coupon/amount_currency` response property for the response status `200`
  - added the new `DOP` enum value to the `coupon/amount_currency` response property for the response status `200`
  - …115 more

---

[Operation](https://skmtc.dev/getlago/apis/lago-api-documentation/docs/coupons/:code/put.md) - [API](https://skmtc.dev/getlago/apis/lago-api-documentation.md) - [Page](https://skmtc.dev/getlago/apis/lago-api-documentation/changes/coupons/:code/put)
