XOMNI: Experience Omni-Channel

Related Items API Set

Deleting all relationships between two items

HTTP DELETE /private/catalog/relatedItems?itemId={itemId}&direction={direction}

The related item APIs provide to remove all relationships between two items. You can remove all item relationships one way or two way.

Fetching related items by item id.

HTTP GET /private/catalog/relatedItems?itemId={itemId}

The Related Items API returns a collection of related item ids for a given item id.

Creating a relationship between two items

HTTP POST /private/catalog/relatedItem?itemId={itemId}&direction={direction}

The related item APIs provide to create a relationship between two items. You can create item relationships one way or two way.

Deleting a relationship between two items

HTTP DELETE /private/catalog/relatedItem?itemId={itemId}&relatedItemId={relatedItemId)&direction={direction}

The related item APIs provide to remove a relationship between two items. You can remove item relationships one way or two way.