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

# Changes to Create a new coupon code

`POST /coupon-codes`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 1064 revisions.

- **2026-11-09** `24b4e38e7054`: 3 breaking
- **2026-10-15** `1b6ef9478972`: 2 breaking, 1 info
- **2026-08-02** `84f157e4443a`: 1 info

## Changes

- **2026-11-09** `24b4e38e7054`: 3 breaking
  - the `couponCode/createdAt` response's property format changed from `date-time` to no format for status `200`
  - the `couponCode/updatedAt` response's property format changed from `date-time` to no format for status `200`
  - the `couponCode/uses` response's property type changed from `integer` to `number` for status `200`
- **2026-10-15** `1b6ef9478972`: 2 breaking, 1 info
  - the `oneOf[subschema #1]/data` response's property type changed from `object` to no type for status `409`
  - removed the required property `oneOf[subschema #1]/data/code` from the response with the `409` status
  - added `subschema #1, subschema #2` to the `oneOf[subschema #1]/data` response property `anyOf` list for the response status `409`
- **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/coupon-codes/post.md) - [API](https://skmtc.dev/session/apis/session-services-api.md) - [Page](https://skmtc.dev/session/apis/session-services-api/changes/coupon-codes/post)
