Relate a product to another product under a relation definition.

Creates a single relation from the source product id to another product, using the relation
definition (relation type) given in the request body. Fails if the source product, the target
product, or the relation definition does not exist, or if the two products are already related
under that relation definition.

For more details on working with products and relations, refer to the Add product
relations
.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The internal ID of the source product the relation starts from.

Example: 78y3566b5c65c1325edexx8f

Body Params
number | null
string
string
Responses
204

No Content

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json