---
title: "PUT /guest/bags/{itemId}/interval"
method: PUT
path: "/guest/bags/{itemId}/interval"
---

# PUT /guest/bags/{itemId}/interval

`PUT /guest/bags/{itemId}/interval`

## 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/bags/{itemId}/interval`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mamaearth/apis/mama-earth-api/docs/guest/bags/:itemId/interval/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.
  - `interval` integer, required

## Response `200`

updateBagInterval 200 response

- ShoppingCartItemBagShoppingCartItem

---

[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)
