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

# Changes to Create coupon

`POST /coupons`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 139 revisions.

- **2026-07-15** `f8ecf435d25d`: 5 warning
- **2026-07-09** `7d57386313c7`: 1 breaking, 3 warning
- **2026-07-09** `4b1a811c4179`: 3 breaking, 3 info
- **2026-06-12** `7084974acc30`: 2 info
- **2026-05-18** `8ec2edea6b20`: 10 warning
- **2026-04-06** `95af41a12111`: 10 warning, 20 info

## Changes

- **2026-07-15** `f8ecf435d25d`: 5 warning
  - added the new `not_implemented` enum value to the `code` response property for the response status `400`
  - added the new `not_implemented` enum value to the `code` response property for the response status `401`
  - added the new `not_implemented` enum value to the `code` response property for the response status `403`
  - added the new `not_implemented` enum value to the `code` response property for the response status `404`
  - added the new `not_implemented` enum value to the `code` response property for the response status `500`
- **2026-07-09** `7d57386313c7`: 1 breaking, 3 warning
  - the `status` response's property type changed from no type to `string` for status `201`
  - added the new `archived` enum value to the `status` response property for the response status `201`
  - added the new `deleted` enum value to the `status` response property for the response status `201`
  - added the new `published` enum value to the `status` response property for the response status `201`
- **2026-07-09** `4b1a811c4179`: 3 breaking, 3 info
  - the `created_at` response's property format changed from `date-time` to no format for status `201`
  - the `status` response's property type changed from `string` to no type for status `201`
  - the `updated_at` response's property format changed from `date-time` to no format for status `201`
  - removed the `archived` enum value from the `status` response property for the response status `201`
  - removed the `deleted` enum value from the `status` response property for the response status `201`
  - removed the `published` enum value from the `status` response property for the response status `201`
- **2026-06-12** `7084974acc30`: 2 info
  - added the new optional request property `coupon_code`
  - added the optional property `coupon_code` to the response with the `201` status
- **2026-05-18** `8ec2edea6b20`: 10 warning
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `401` status
  - removed the optional property `details` from the response with the `403` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `401`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `403`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `404`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `500`
- **2026-04-06** `95af41a12111`: 10 warning, 20 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `401` status
  - removed the optional property `error` from the response with the `403` status
  - removed the optional property `error` from the response with the `404` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `success` from the response with the `400` status
  - removed the optional property `success` from the response with the `401` status
  - removed the optional property `success` from the response with the `403` status
  - removed the optional property `success` from the response with the `404` status
  - removed the optional property `success` from the response with the `500` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `401` status
  - added the optional property `details` to the response with the `403` status
  - added the optional property `details` to the response with the `404` status
  - added the optional property `details` to the response with the `500` status
  - added the optional property `http_status_code` to the response with the `400` status
  - added the optional property `http_status_code` to the response with the `401` status
  - added the optional property `http_status_code` to the response with the `403` status
  - added the optional property `http_status_code` to the response with the `404` status
  - added the optional property `http_status_code` to the response with the `500` status
  - added the optional property `message` to the response with the `400` status
  - added the optional property `message` to the response with the `401` status
  - added the optional property `message` to the response with the `403` status
  - added the optional property `message` to the response with the `404` status
  - added the optional property `message` to the response with the `500` status

---

[Operation](https://skmtc.dev/flexprice/apis/flexprice-api/docs/coupons/post.md) - [API](https://skmtc.dev/flexprice/apis/flexprice-api.md) - [Page](https://skmtc.dev/flexprice/apis/flexprice-api/changes/coupons/post)
