Carts
Delete cart
delete all items from the cart.
DELETE
Delete cart
Path Parameters
Response
OK
events
(CartLifecycleEvent · object | CartLineChangeEvent · object | CartCouponEvent · object | OrderCreatedEvent · object | OrderCancelledEvent · object | WishlistChangeEvent · object)[]
required
Analytics events to emit for the change this request made, each with a server-issued event_id. Replay them to your analytics destinations so your client-side and server-side copies of the same action dedupe. Empty when the request produced no analytics event.
Emitted when a cart is created or deleted, or when checkout begins. Checkout Started is sent each time an address is set on the cart, even an unchanged one, matching Commerce Engine's own server-side copy.
- CartLifecycleEvent
- CartLineChangeEvent
- CartCouponEvent
- OrderCreatedEvent
- OrderCancelledEvent
- WishlistChangeEvent
Delete cart