---
title: "POST /guest/bags"
method: POST
path: "/guest/bags"
---

# POST /guest/bags

`POST /guest/bags`

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

## 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.
  - `bagId` integer, required
  - `interval` integer, required
  - `quantity` integer, required

## Response `200`

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