younifyd
Menu

Anonymize Rule Promotion Usages

Anonymize Rule Promotion Usages

POST/v2/rule-promotions/usages/anonymize

Use it in a workflow

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

Request

Request body

Enter the body as JSON in the step's Body field.

dataobjectrequired
usage_idsarray<string>

The unique identifiers of the usages to be anonymized. Multiple usage IDs can be provided to anonymize in bulk.

json
{
  "data": {
    "usage_ids": [
      "string"
    ]
  }
}

Response

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

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

Anonymize Rule Promotion Usages — Elastic Path — Documentation