---
title: "Link Inventory"
method: PUT
path: "/api/inventory/v2/inventories/{id}/relations"
tags: ["Inventory Relationships V1"]
---

# Link Inventory

`PUT /api/inventory/v2/inventories/{id}/relations`

Use this API to create a bidirectional link between an inventory and one or more other inventories.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `entityType` 'processing-activities' | 'vendors' | 'assets' | 'entities'

## Request body

- InventoryAssociationUpdateRequest[]
  - `relation` 'ControllerLinkType' | 'JointControllerLinkType' | 'RelatedLinkType' | 'RecipientOfSaleLinkType' | 'SubProcessorLinkType' | 'ProcessorLinkType' | 'DestinationAccessLinkType' | 'ProductOrServiceProviderLinkType' | 'StorageProcessingLinkType' | 'SourceCollectionLinkType' — The type of relationship between inventory records
  - `InventoryType` 'processing-activities' | 'vendors' | 'assets' | 'entities', required
  - `Ids` string[], required

## Response `200`

OK

## Other responses

- `201` — Created
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.dev/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/revisions/21de3aa0b170/schema)
