has_one
custom_promotion_rules

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

Changed on

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

Path parameters

buyXPayYPromotionIdstring required

The resource's id

Response

The custom_promotion_rule associated to the buy x pay y promotion

Changes