Skip to main content

Delete a shopping cart item by ID

PATCH 

/api/cart/:id/item/delete/:itemId

Delete a specific item from a shopping cart using the cart ID and item ID.

Request

Path Parameters

    id stringrequired

    The ID of the cart containing the item to be deleted

    itemId stringrequired

    The ID of the item to be deleted

Responses

Successful deletion of the cart item

Schema

    any

Loading...