---
title: "PUT /users/{userId}/bags/{itemId}/bag"
method: PUT
path: "/users/{userId}/bags/{itemId}/bag"
---

# PUT /users/{userId}/bags/{itemId}/bag

`PUT /users/{userId}/bags/{itemId}/bag`

## 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/users/{userId}/bags/{itemId}/bag`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mamaearth/apis/mama-earth-api/docs/users/:userId/bags/:itemId/bag/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userId` integer, required
- `itemId` integer, required

## Request body

- object
  - `bagId` integer, required

## Response `200`

changeBag 200 response

- ShoppingCartControllerShoppingCartItemWithNextDateShoppingCartItemBagShoppingCartItemStoredBagShoppingCartItem
  - `nextDate` string, date, required

---

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