Menu
Upsert Origin Header Modification
Upsert Origin Header Modification
PUT
/organizations/{organizationId}/zones/{zoneId}/origin-header-modification/{type}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Upsert Origin Header Modification action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{upsertOriginHeaderModification.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"headerValue": "123456789",
"headerName": "x-sfdc-access-control"
}
Response
Returns 200 with an object. Read it in later steps with {{upsertOriginHeaderModification.response.data.<field>}}.
{
"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.
Was this page helpful?