# Abandoned carts Endpoints for managing abandoned carts An abandoned cart function helps businesses track when online shoppers add items to their virtual shopping carts but leave the website or app without completing their purchase. It captures data about these abandoned carts, including the specific products left behind and, when available, the customer's contact information. ## Create or update a cart - [POST /abandonedCarts](https://dev.triggloyalty.com/openapi/abandoned-carts/createcart.md): Creates or updates a cart. As with many other endpoints, the payload is configurable and can contain additional data in the extendedProperties field. To update a cart, use the same cartId as an existing cart. ## Empty cart - [PUT /abandonedCarts](https://dev.triggloyalty.com/openapi/abandoned-carts/emptycart.md): Method that allows the client to empty a stored cart