---
title: "Changes to Retrieve a coupon codes promotion rule"
method: GET
path: "/coupon_codes_promotion_rules/{couponCodesPromotionRuleId}"
---

# Changes to Retrieve a coupon codes promotion rule

`GET /coupon_codes_promotion_rules/{couponCodesPromotionRuleId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 10 breaking, 2 warning, 10 info

## Changes

- **2026-07-13** `859097ed3fe6`: 10 breaking, 2 warning, 10 info
  - the response property `data/attributes/metadata` became nullable for the status `200`
  - the response property `data/attributes/reference` became nullable for the status `200`
  - the response property `data/attributes/reference_origin` became nullable for the status `200`
  - the response property `data` became optional for the status `200`
  - the response property `data/attributes` became optional for the status `200`
  - the response property `data/type` became optional for the status `200`
  - removed the required property `data/relationships/coupons/id` from the response with the `200` status
  - removed the required property `data/relationships/coupons/type` from the response with the `200` status
  - removed the required property `data/relationships/promotion/id` from the response with the `200` status
  - removed the required property `data/relationships/promotion/type` from the response with the `200` status
  - removed the optional property `data/attributes/id` from the response with the `200` status
  - added the new `coupon_codes_promotion_rules` enum value to the `data/type` response property for the response status `200`
  - added the optional property `data/attributes/type` to the response with the `200` status
  - added the optional property `data/id` to the response with the `200` status
  - added the optional property `data/links` to the response with the `200` status
  - added the optional property `data/relationships/coupons/data` to the response with the `200` status
  - added the optional property `data/relationships/coupons/links` to the response with the `200` status
  - added the optional property `data/relationships/event_stores` to the response with the `200` status
  - added the optional property `data/relationships/promotion/data` to the response with the `200` status
  - added the optional property `data/relationships/promotion/links` to the response with the `200` status
  - the `type` response's property default value `coupon_codes_promotion_rules` was removed for the status `200`
  - removed `#/components/schemas/percentageDiscountPromotion, #/components/schemas/freeShippingPromotion, #/components/schemas/fixedAmountPromotion, #/components/schemas/freeGiftPromotion, #/components/schemas/fixedPricePromotion, #/components/schemas/externalPromotion` from the `data/relationships/promotion` response property `oneOf` list for the response status `200`

---

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