younifyd
Menu

Get Product Template Relationships

Get all product template relationships

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

Use it in a workflow

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

Request

Path parameters

productIDstringrequired

A unique identifier for the product.

Response

Returns 200 with an object. Read it in later steps with {{getProductTemplateRelationships.response.data.<field>}}.

dataarray<object>
idstring

A unique identifier for a template generated when a template is created.

typestring

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

One oftemplate

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

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