younifyd
Menu

Update Rule Promotion

Update a Rule Promotion

PUT/v2/rule-promotions/{promotionID}

Use it in a workflow

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

Request

Path parameters

promotionIDstringrequired

The unique identifier of the promotion to be updated.

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 {{updateRulePromotion.response.data.<field>}}.

dataany
json
{
  "data": null
}

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

Update Rule Promotion — Elastic Path — Documentation