younifyd
Menu

Delete Product Template Relationship

Delete a product template relationship

DELETE/pcm/products/{productID}/relationships/templates

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Delete Product Template Relationship action (under PIM).
  3. Fill in the fields below, then reference the result from later steps as {{deleteProductTemplateRelationship.response.data}}.

Request

Path parameters

productIDstringrequired

A unique identifier for the product.

Request body

Enter the body as JSON in the step's Body field.

dataarray<object>
idstring

The unique identifier of a template.

typestring

This represents the type of resource object being returned. Always `template`.

One oftemplate

json
{
  "data": [
    {
      "id": "string",
      "type": "template"
    }
  ]
}

Response

Returns 204 with a any. Read it in later steps with {{deleteProductTemplateRelationship.response.data.<field>}}.

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Delete Product Template Relationship — Elastic Path — Documentation