Inventory Relationships V1

Update Inventory Link

Use this API to update a bidirectional link between two inventories.

put/api/inventory/v2/inventories/{id}/associations/{associationId}

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/inventory/v2/inventories/{id}/associations/{associationId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: INVENTORY, INVENTORY_WRITE

Path parameters

idstring uuid required

The unique identifier of an inventory record

associationIdstring uuid required

The unique identifier of the association

Request body

relation'ControllerLinkType' | 'JointControllerLinkType' | 'RelatedLinkType' | 'RecipientOfSaleLinkType' | 'SubProcessorLinkType' | 'ProcessorLinkType' | 'DestinationAccessLinkType' | 'ProductOrServiceProviderLinkType' | 'StorageProcessingLinkType' | 'SourceCollectionLinkType'

The type of relationship between inventory records

Example request

{
  "relation": "JointControllerLinkType"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.