younifyd
Menu

Get Product Variation Relationships

Get all product variation relationships

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

Use it in a workflow

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

Request

Path parameters

productIDstringrequired

A unique identifier for the product.

Response

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

dataarray<object>
idstring

A unique identifier generated when a variation is created.

typestring

This represents the type of resource object being returned. Always `product-variation`.

One ofproduct-variation

metaobject1 fields
json
{
  "data": [
    {
      "id": "string",
      "type": "product-variation",
      "meta": {
        "created_at": "2020-09-22T09:00:00.000Z"
      }
    }
  ]
}

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