# Functions
AddItemToCart adds an item to the cart of a user.
ClearCart removes all items from a cart.
CORSHandler sets CORS headers for the preflight request.
ErrorHandler takes the activity where the error occured and the error object and sends a message to sentry.
GetAllCarts gets all carts that are available in the database.
GetCartItems gets the contents of a single cart.
GetCartValue gets the total monetary value in the cart of a user.
GetTotalItems gets the total number of items in a cart.
ModifyCart modifies the entire cart.
ModifyCartItem modifies a single item in a cart.