---
title: "Retrieve the custom promotion rule associated to the buy x pay y promotion"
method: GET
path: "/buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule"
tags: ["has_one", "custom_promotion_rules"]
---

# Retrieve the custom promotion rule associated to the buy x pay y promotion

`GET /buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule`

## Request

- Base URL: `https://{your_organization_slug}.commercelayer.io/api`
- URL: `https://{your_organization_slug}.commercelayer.io/api/buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule`
- Auth: HTTP bearer

Retrieve the custom promotion rule associated to the buy x pay y promotion

## Path parameters

- `buyXPayYPromotionId` string, required

## Response `200`

The custom_promotion_rule associated to the buy x pay y promotion

## Changes

- **2026-07-13** `859097ed3fe6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/buy_x_pay_y_promotions/:buyXPayYPromotionId/custom_promotion_rule/get.md)

---

[API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [All operations](https://skmtc.dev/commercelayer/apis/commerce-layer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commercelayer/apis/commerce-layer-api/revisions/b57015449446?raw)
