younifyd
Menu

Get Origin Header Modification

Get Origin Header Modification

GET/organizations/{organizationId}/zones/{zoneId}/origin-header-modification/{type}

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Get Origin Header Modification action (under Zones (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{getOriginHeaderModification.response.data}}.

Request

Path parameters

zoneIdstringrequired
typestringrequired

The type of origin header modification. Only the `mrt` type is supported.

organizationIdstringrequired

An identifier for the organization the request is being made by

Response

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

dataobject

An origin header modification rule.

headerNamestringrequired

The name of the header forwarded to the origin.

headerValuestringrequired

The masked value of the header forwarded to the origin.

lastUpdatedstring (date-time)required

Date when the rule was last updated.

json
{
  "data": {
    "headerName": "x-sfdc-access-control",
    "headerValue": "****************789",
    "lastUpdated": "2022-01-01T05:20:00Z"
  }
}

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Get Origin Header Modification — Salesforce Commerce Cloud — Documentation