Menu
Detach Custom Relationships
Delete Custom Relationships from a Product
DELETE
/pcm/products/{productID}/custom-relationshipsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Detach Custom Relationships action (under PIM).
- Fill in the fields below, then reference the result from later steps as
{{detachCustomRelationships.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": [
{
"slug": "string",
"type": "custom-relationship"
}
]
}
Response
Returns 204 with a any. Read it in later steps with {{detachCustomRelationships.response.data.<field>}}.
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?