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

# Changes to Update a coupon

`PUT /coupons/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 1064 revisions.

- **2026-11-09** `38649d1c1ac7`: 4 breaking, 3 warning, 2 info
- **2026-11-09** `24b4e38e7054`: 4 breaking, 5 info
- **2026-09-23** `6369738f4d43`: 4 info
- **2026-08-02** `84f157e4443a`: 1 info

## Changes

- **2026-11-09** `38649d1c1ac7`: 4 breaking, 3 warning, 2 info
  - request property `orderLimit` list-of-types was narrowed by removing types `number` from media type `application/json`
  - added the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` to the request property `saleEndsAt/anyOf[subschema #1]/`
  - added the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` to the request property `saleStartsAt`
  - the `orderLimit/anyOf[subschema #1]/` request property type changed from `number` to `integer`
  - the `orderLimit/anyOf[subschema #1]/` request property's max was set to `9007199254740991.00`
  - the `discount` request property's min was set to `0.00`
  - the `orderLimit/anyOf[subschema #1]/` request property's min was set to `1.00`
  - the `coupon/saleEndsAt` response's property pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` was added for the status `200`
  - the `coupon/saleStartsAt` response's property pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` was added for the status `200`
- **2026-11-09** `24b4e38e7054`: 4 breaking, 5 info
  - request property `orderLimit` list-of-types was narrowed by removing types `integer` from media type `application/json`
  - the `coupon/createdAt` response's property format changed from `date-time` to no format for status `200`
  - the `coupon/orderLimit` response's property type changed from `integer` to `number` for status `200`
  - the `coupon/updatedAt` response's property format changed from `date-time` to no format for status `200`
  - removed the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` from the request property `saleEndsAt/anyOf[subschema #1]/`
  - removed the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` from the request property `saleStartsAt`
  - the `orderLimit/anyOf[subschema #1]/` request property type was generalized from `integer` to `number`
  - the `coupon/saleEndsAt` response's property pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` was removed for the status `200`
  - the `coupon/saleStartsAt` response's property pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` was removed for the status `200`
- **2026-09-23** `6369738f4d43`: 4 info
  - added the new optional request property `membersOnly`
  - added the new optional request property `orderLimit`
  - added the optional property `coupon/membersOnly` to the response with the `200` status
  - added the optional property `coupon/orderLimit` to the response with the `200` status
- **2026-08-02** `84f157e4443a`: 1 info
  - added the non-success response with the status `412`

---

[Operation](https://skmtc.dev/session/apis/session-services-api/docs/coupons/:id/put.md) - [API](https://skmtc.dev/session/apis/session-services-api.md) - [Page](https://skmtc.dev/session/apis/session-services-api/changes/coupons/:id/put)
