---
title: "Changes to Update discount"
method: PATCH
path: "/discounts/{id}"
---

# Changes to Update discount

`PATCH /discounts/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 45 revisions.

- **2026-12-05** `ccbd8fcbd6d7`: 1 warning
- **2026-11-15** `56c22ab9b282`: 1 breaking, 10 warning
- **2026-11-14** `75004af52e68`: 1 info
- **2026-11-03** `e3252049784c`: 1 info
- **2026-10-20** `7bd3f6e42135`: 1 warning, 6 info

## Changes

- **2026-12-05** `ccbd8fcbd6d7`: 1 warning
  - added the new `expired` enum value to the `status` response property for the response status `200`
- **2026-11-15** `56c22ab9b282`: 1 breaking, 10 warning
  - added the pattern `^[a-zA-Z0-9_-]+$` to the request property `code`
  - the `amount_off` request property's max was set to `99999999.00`
  - the `minimum_amount` request property's max was set to `99999999.00`
  - the `amount_off` request property's min was set to `1.00`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `422`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `429`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `500`
- **2026-11-14** `75004af52e68`: 1 info
  - added the required property `price_variants` to the response with the `200` status
- **2026-11-03** `e3252049784c`: 1 info
  - added the new optional request property `status`
- **2026-10-20** `7bd3f6e42135`: 1 warning, 6 info
  - the `max_redemptions` request property's min was set to `1.00`
  - added the new optional request property `first_order_only`
  - added the new optional request property `minimum_amount`
  - added the new optional request property `once_per_customer`
  - added the required property `first_order_only` to the response with the `200` status
  - added the required property `minimum_amount` to the response with the `200` status
  - added the required property `once_per_customer` to the response with the `200` status

---

[Operation](https://skmtc.dev/crevio/apis/crevio-api-v1/docs/discounts/:id/patch.md) - [API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [Page](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/discounts/:id/patch)
