put https://customer.my.onetrust.com/api/inventory/v2/inventories//reference/
Use this API to update the Inventory if already exists or create a new Inventory otherwise.
Example Request
PUT https://{hostname}/api/inventory/v2/inventories/{type}/reference/{externalId}
PUT https://trial.onetrust.com/api/inventory/v2/inventories/vendors/reference/43fd3a8d-3f6b-464e-bf43-3f0c6c592442