Menu
Create Product Template Relationship
Create a product template relationship
POST
/pcm/products/{productID}/relationships/templatesUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Create Product Template Relationship action (under PIM).
- Fill in the fields below, then reference the result from later steps as
{{createProductTemplateRelationship.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": [
{
"id": "string",
"type": "template"
}
]
}
Response
Returns 201 with an object. Read it in later steps with {{createProductTemplateRelationship.response.data.<field>}}.
{
"data": [
{
"id": "string",
"type": "template"
}
]
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?