has_one
custom_promotion_rules

Retrieve the custom promotion rule associated to the promotion

Changed on

Retrieve the custom promotion rule associated to the promotion

get/promotions/{promotionId}/custom_promotion_rule

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/promotions/{promotionId}/custom_promotion_rule
  • Auth
    HTTP bearer

Path parameters

promotionIdstring required

The resource's id

Response

The custom_promotion_rule associated to the promotion

Changes