Skip to main content

Update a shopping cart item by ID

PATCH 

/api/cart/:id/item/update/:itemId

Update a specific item in 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 updated

    itemId stringrequired

    The ID of the item to be updated

Body

    qty number

    Quantity (Optional)

    shipping_id string

    The shipping country id (Optional)

Responses

Successful update of the cart item

Schema

    any

Loading...