Skip to main content

Create a node's product relationships

POST 

https://euwest.api.elasticpath.com/pcm/hierarchies/:hierarchyID/nodes/:nodeID/relationships/products

Creates relationships between the specified node and one or more products in a specified hierarchy.

Request

Responses

Successfully returns the updated node

Authorization: http

name: bearerAuthtype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com
Auth
Parameters
— pathrequired
— pathrequired
Body
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "product"
    }
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.