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