Remove multiple items from cart
DELETE/api/v1/sdk/cart/store/:storeId/items/bulk
This endpoint removes multiple items from the cart in a single operation. More efficient than multiple single-item delete calls.
Authentication: Requires customer authentication (JWT token with verified phone). Optional API key for additional store validation.
Use Cases:
- Bulk removal of unavailable items
- Cart cleanup operations
- Removing multiple selected items from cart UI
Error Scenarios:
- 400 BAD REQUEST - Invalid request format or too many items (Error code: INVALID_REQUEST)
- 404 NOT FOUND - Store or cart items not found (Error code: STORE_NOT_FOUND or CART_ITEM_NOT_FOUND)
- 401 UNAUTHORIZED - Customer not authenticated (Error code: UNAUTHORIZED)
- 403 FORBIDDEN - API key doesn't have access to this store (Error code: NO_STORE_ACCESS)
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 500
Cart items removed successfully (check response for partial failures)
Invalid request format
Unauthorized - Customer authentication required
Forbidden - No access to this store
Store or cart items not found
Internal server error