has_one
custom_promotion_rules
Retrieve the custom promotion rule associated to the buy x pay y promotion
Changed onRetrieve the custom promotion rule associated to the buy x pay y promotion
get/buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule
- AuthHTTP bearer
Path parameters
buyXPayYPromotionIdstring required
The resource's id
Response
The custom_promotion_rule associated to the buy x pay y promotion
Changes
- info
endpoint added
- info