younifyd
Menu

Get Rule Promotion By Id

Get a Rule Promotion by ID

GET/v2/rule-promotions/{promotionID}

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get Rule Promotion By Id action (under Promotions Builder).
  3. Fill in the fields below, then reference the result from later steps as {{getRulePromotionById.response.data}}.

Request

Path parameters

promotionIDstringrequired

The unique identifier of the rule promotion.

Headers

Authorizationstring (Bearer)required

The Bearer token required to get access to the API.

Response

Returns 200 with an object. Read it in later steps with {{getRulePromotionById.response.data.<field>}}.

dataany
json
{
  "data": null
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Get Rule Promotion By Id — Elastic Path — Documentation