Menu
Update
Update Context Mapping
PUT
/rest/organizations/{organizationId}/commerce/v2/tracking-ids/{trackingId}/context-mappings/{key}Use it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Update action (under Commerce).
- Fill in the fields below, then reference the result from later steps as
{{update.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"destinations": [
{
"attribute": "QUERY_PIPELINE_CONTEXT"
},
{
"attribute": "FIELD_ALIASES"
}
],
"key": "user_segment",
"type": "STRING"
}
Response
Returns 200 with an object. Read it in later steps with {{update.response.data.<field>}}.
{
"destinations": [
{
"attribute": "QUERY_PIPELINE_CONTEXT"
},
{
"attribute": "FIELD_ALIASES"
}
],
"key": "user_segment",
"type": "STRING"
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?