---
title: "Changes to Update a gift card"
method: PATCH
path: "/gift_cards/{giftCardId}"
---

# Changes to Update a gift card

`PATCH /gift_cards/{giftCardId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

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

## Changes

- **2026-07-13** `859097ed3fe6`: 4 breaking, 4 warning, 15 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, null`
  - 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/_add_tags`
  - added the new optional request property `data/attributes/_remove_tags`
  - added the new optional request property `data/attributes/distribute_discount`
  - added the new optional request property `data/relationships/tags`
  - the request property `data/attributes/balance_max_cents` became nullable
  - the request property `data/attributes/currency_code` became nullable
  - the request property `data/attributes/expires_at` became nullable
  - the request property `data/attributes/image_url` became nullable
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/recipient_email` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - 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 `200`

---

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