Carts
Delete cart using user id
delete all items from the cart using user id.
DELETE
Delete cart using user id
Authorizations
Access token
Path Parameters
User ID
Response
OK
Example:
"All cart items are removed."
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 on every address update on the cart, mirroring Commerce Engine's own server-side copy.
- CartLifecycleEvent
- CartLineChangeEvent
- CartCouponEvent
- OrderCreatedEvent
- OrderCancelledEvent
- WishlistChangeEvent
Delete cart using user id