---
title: "PUT /guest/products/{itemId}/quantity"
method: PUT
path: "/guest/products/{itemId}/quantity"
---

# PUT /guest/products/{itemId}/quantity

`PUT /guest/products/{itemId}/quantity`

## Request

- Base URL: `https://api.mamaearth.ca` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mamaearth.ca/guest/products/{itemId}/quantity`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mamaearth/apis/mama-earth-api/docs/guest/products/:itemId/quantity/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `itemId` integer, required

## Request body

- object
  - `guestCart` GuestShoppingCart
    - `sessionId` string: Get the the sessionId
    - `date` string, date: Get the current date they are shopping for
    - `items` ShoppingCartItem[]: Get the shopping cart items for the current guest.
    - `itemsSubtotal` number: Returns the subtotal of current cart items.
    - `coupon` Coupon
    - `preselectedCartItems` ShoppingCartItem[]: Get the preselected shopping cart items for the current guest.
  - `quantity` integer, required

## Response `200`

updateProductQuantity 200 response

- ShoppingCartItemProductShoppingCartItem

---

[API](https://skmtc.dev/mamaearth/apis/mama-earth-api.md) - [All operations](https://skmtc.dev/mamaearth/apis/mama-earth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mamaearth/apis/mama-earth-api/revisions/2693a8db8dbd?raw)
