younifyd
Menu

Delete Single Rule Promotion Code

Delete A Single Rule Promotion Code

DELETE/v2/rule-promotions/{promotionID}/codes/{codeID}

Use it in a workflow

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

Request

Path parameters

promotionIDstringrequired

The unique identifier of the rule promotion.

codeIDstringrequired

The unique identifier of the rule promotion code.

Headers

Authorizationstring (Bearer)required

The Bearer token required to get access to the API.

Response

Returns 204 with a any. Read it in later steps with {{deleteSingleRulePromotionCode.response.data.<field>}}.

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

Delete Single Rule Promotion Code — Elastic Path — Documentation