XOMNI: Experience Omni-Channel

Shopping Cart Item API Set

Deleting a shopping cart item

HTTP DELETE /pii/shoppingcartitem?shoppingCartItemUniqueKey={shoppingCartItemUniqueKey}&longitude={latitude}&latitude={latitude}

This API allows a client application to delete a shopping cart item from a shopping cart based on its unique key.

Adding an item to a shopping cart

HTTP POST /pii/shoppingcartitem?shoppingCartUniqueKey={shoppingCartUniqueKey}

This API enables a client application to add a new item to an existing shopping cart.

Clearing all items in a shopping cart

HTTP DELETE /pii/shoppingcartitems?shoppingCartUniqueKey={shoppingCartUniqueKey}&longitude={longitude}&latitude={latitude}

This API allows a client application to clear all shopping cart items from a shopping cart with just one API call. This API method does not delete the shopping cart; it only removes shopping cart items from a shopping cart.

Updating a shopping cart item

HTTP PUT /pii/shoppingcartitem?shoppingCartItemUniqueKey={shoppingCartItemUniqueKey}&quantity={quantity}&longitude={longitude}&latitude={latitude}

This API updates the quantity of an existing shopping cart item based on its unique key.