Add to Cart

The workflow begins when a user adds items to the cart from either the Product Detail Page (PDP) or the Product List Page (PLP). The system then determines whether the user is initiating a new checkout or resuming an existing one and triggers the appropriate logic.

Endpoint: POST /commerce/carts/{activeCartOrId}/cart-items