---
title: "Changes to Create a gift card"
method: POST
path: "/gift_cards"
---

# Changes to Create a gift card

`POST /gift_cards`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 4 breaking, 4 warning, 5 info

## Changes

- **2026-07-13** `859097ed3fe6`: 4 breaking, 4 warning, 5 info
  - added the new required request property `data/relationships/gift_card_recipient/data`
  - added the new required request property `data/relationships/market/data`
  - request property `data/type` was restricted to a list of enum values
  - the `data/attributes/balance_max_cents` request property type changed from `string` to `integer`
  - removed the request property `data/relationships/gift_card_recipient/id`
  - removed the request property `data/relationships/gift_card_recipient/type`
  - removed the request property `data/relationships/market/id`
  - removed the request property `data/relationships/market/type`
  - added the new optional request property `data/attributes/distribute_discount`
  - added the new optional request property `data/relationships/tags`
  - the `type` request property default value `gift_cards` was removed
  - added the new `gift_cards` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `201`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/gift_cards/post.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/gift_cards/post)
