---
title: "Changes to Criar cupom"
method: POST
path: "/{alias}/pricing/promocodes"
---

# Changes to Criar cupom

`POST /{alias}/pricing/promocodes`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `bbafb577e11c`: 8 breaking, 4 info

## Changes

- **2026-11-03** `bbafb577e11c`: 8 breaking, 4 info
  - the request property `active` became required
  - the request property `code` became required
  - the request property `discount_type` became required
  - the request property `end_at` became required
  - the request property `min_value` became required
  - the request property `quantity` became required
  - the request property `start_at` became required
  - the request property `value` became required
  - added the new optional request property `advertise`
  - added the new optional request property `freebie_id`
  - added the optional property `advertise` to the response with the `201` status
  - added the optional property `freebie_id` to the response with the `201` status

---

[Operation](https://skmtc.dev/yampi/apis/yampi-api/docs/:alias/pricing/promocodes/post.md) - [API](https://skmtc.dev/yampi/apis/yampi-api.md) - [Page](https://skmtc.dev/yampi/apis/yampi-api/changes/:alias/pricing/promocodes/post)
