Inventory Relationships V1
Link Inventory
Use this API to create a bidirectional link between an inventory and one or more other inventories.
post/api/inventory/v2/inventories/{id}/relations
Path parameters
idstring uuid required
The unique identifier of an inventory record. The value can be obtained using the List Inventories API.
Query parameters
entityType'processing-activities' | 'vendors' | 'assets' | 'entities'
Entity type parameter
Request body
Example request
[
{
"relation": "JointControllerLinkType",
"id": "d31425ae-1321-4738-bb76-bdca83c0944c",
"entityType": "vendors"
}
]Response
OK
Example response
[
{
"inventoryId": "9a7c3ec1-7830-4811-8563-36e0a093e7ae",
"inventoryAssociationId": "4374d5da-44ac-4308-a298-3efdb0f34ba4"
}
]