2

I am working on a headless magento solution, but I am facing a bit of a problem.

As the official magento 2 docs suggest, cart items can be deleted using these:

DELETE /V1/guest-carts/:cartId/items/:itemId -> For Guest Users

DELETE /V1/carts/mine/items/:itemId -> For Signed-in users

Is there a way to delete multiple items without using the same API multiple times, or more conveniently empty the cart?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.