Menu
Get Product Main Image Relationships
Get Main Image Relationships
GET
/pcm/products/{productID}/relationships/main_imageUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get Product Main Image Relationships action (under PIM).
- Fill in the fields below, then reference the result from later steps as
{{getProductMainImageRelationships.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getProductMainImageRelationships.response.data.<field>}}.
{
"data": {
"id": "string",
"type": "file"
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?