---
title: "Changes to Atualizar um desconto da loja"
method: PUT
path: "/{alias}/discounts/{id}"
---

# Changes to Atualizar um desconto da loja

`PUT /{alias}/discounts/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `bbafb577e11c`: 1 breaking, 5 info

## Changes

- **2026-11-03** `bbafb577e11c`: 1 breaking, 5 info
  - the request property `specifications` became required
  - added the new optional request property `specifications/price_mode`
  - added the new optional request property `specifications/tiers`
  - added the new `buy_x_pay_y` enum value to the request property `discount_type`
  - added the optional property `allOf[#/components/schemas/DiscountViewAdditionalResponse]/specifications/data/price_mode` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/DiscountViewAdditionalResponse]/specifications/data/tiers` to the response with the `200` status

---

[Operation](https://skmtc.dev/yampi/apis/yampi-api/docs/:alias/discounts/:id/put.md) - [API](https://skmtc.dev/yampi/apis/yampi-api.md) - [Page](https://skmtc.dev/yampi/apis/yampi-api/changes/:alias/discounts/:id/put)
