---
title: "GET /bags/search"
method: GET
path: "/bags/search"
---

# GET /bags/search

`GET /bags/search`

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

## Query parameters

- `sort` 'NAME_ASC' | 'NAME_DESC' | 'PRICE_ASC' | 'PRICE_DESC' | 'SORT_ORDER_ASC' | 'SORT_ORDER_DESC', required
- `shoppingDate` string, date, required

## Response `200`

search 200 response

- Bag[]
  - `id` integer, required
  - `erpItemId` integer, required
  - `name` string, required
  - `shortName` string, required
  - `bagType` 'REGULAR' | 'VALUE', required
  - `description` string, required
  - `shortDescription` string, required
  - `contentsProfile` string, required
  - `contentsDescription` string, required
  - `portionText` string, required
  - `portionSize` integer, required
  - `uri` string, required
  - `imageUrl` string, required
  - `price` Price, required
    - `promo` boolean, required
    - `value` number, required
    - `originalValue` number, nullable, required
    - `availability` PriceAvailability
      - `startDate` string, date, required
      - `endDate` string, date, required
  - `customizationFee` number, required
  - `points` integer, nullable, required
  - `allowExtraItems` boolean, required
  - `extraBagPointPrice` number, required
  - `published` boolean, required
  - `immutable` boolean, required
  - `allowedIntervals` integer[], required
  - `allowedCategoryCodes` string[], required
  - `isDIY` boolean, required
  - `isFeatured` boolean, required
  - `isOrganic` boolean, 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)
