younifyd
Menu

Get Product File Relationships

Get all product file relationships

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

Use it in a workflow

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

Request

Path parameters

productIDstringrequired

A unique identifier for the product.

Response

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

dataarray<object>
idstring

The unique identifier of the file.

typestring

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

One offile

metaobject2 fields
json
{
  "data": [
    {
      "id": "string",
      "type": "file",
      "meta": {
        "created_at": "2025-01-01T00:00:00Z",
        "tags": [
          "string"
        ]
      }
    }
  ]
}

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

Get Product File Relationships — Elastic Path — Documentation