promotion_rules

Retrieve a promotion rule

Changed on

Retrieve a promotion rule

get/promotion_rules/{promotionRuleId}

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/promotion_rules/{promotionRuleId}
  • Auth
    HTTP bearer

Path parameters

promotionRuleIdstring required

The resource's id

Response

The promotion rule object

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      added the new promotion_rules enum value to the / response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      the response's property default value promotion_rules was removed for the status

    • info

      removed from the // response property oneOf list for the response status