younifyd
Menu

Dissociate Products

Delete a Relationship between a product with one or more products

DELETE/pcm/products/{productID}/custom-relationships/{customRelationshipSlug}

Use it in a workflow

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

Request

Path parameters

productIDstringrequired

A unique identifier for the product.

customRelationshipSlugstringrequired

A custom relationship slug.

Request body

Enter the body as JSON in the step's Body field.

dataarray<object>required
idstringrequired

The ID of the product you want to relate.

typestringrequired

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

One ofproduct

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

Response

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

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

Dissociate Products — Elastic Path — Documentation