Menu
Detach Nodes
Detach multiple nodes
POST
/pcm/products/detach_nodesUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Detach Nodes action (under PIM).
- Fill in the fields below, then reference the result from later steps as
{{detachNodes.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"filter": "eq(sku,book)",
"node_ids": [
"123"
]
}
}
Response
Returns 200 with an object. Read it in later steps with {{detachNodes.response.data.<field>}}.
{
"meta": {
"nodes_detached": 0,
"nodes_not_found": [
"123"
]
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?