younifyd
Menu

Create Rule Promotion

Create a Rule Promotion

POST/v2/rule-promotions

Use it in a workflow

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

Request

Headers

Authorizationstring (Bearer)required

The Bearer token required to get access to the API.

Response

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

dataany
json
{
  "data": null
}

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