---
title: "Changes to Create a new coupon"
method: POST
path: "/coupons"
---

# Changes to Create a new coupon

`POST /coupons`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 1064 revisions.

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

## Changes

- **2026-11-09** `38649d1c1ac7`: 3 breaking, 3 warning, 2 info
  - added the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` to the request property `saleEndsAt`
  - added the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` to the request property `saleStartsAt`
  - the `orderLimit` request property type changed from `number` to `integer`
  - the `orderLimit` request property's max was set to `9007199254740991.00`
  - the `discount` request property's min was set to `0.00`
  - the `orderLimit` 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`: 3 breaking, 5 info
  - 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`
  - removed the pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$` from the request property `saleStartsAt`
  - the `orderLimit` 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/post.md) - [API](https://skmtc.dev/session/apis/session-services-api.md) - [Page](https://skmtc.dev/session/apis/session-services-api/changes/coupons/post)
