younifyd
Menu

Update Product Variation Relationships

Replace a product variation relationship

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

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Update Product Variation Relationships action (under PIM).
  3. Fill in the fields below, then reference the result from later steps as {{updateProductVariationRelationships.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 ID of the product variation.

typestring

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

One ofproduct-variation

json
{
  "data": [
    {
      "id": "string",
      "type": "product-variation"
    }
  ]
}

Response

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

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