---
title: "POST /bags/all/contents/{date}/publish"
method: POST
path: "/bags/all/contents/{date}/publish"
---

# POST /bags/all/contents/{date}/publish

`POST /bags/all/contents/{date}/publish`

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

## Path parameters

- `date` string, date, required

## Request body

- object
  - `includeUserCustomizedBags` boolean, nullable

## Response `200`

publishBagContents 200 response

- BagPublishDetails: Provides summary info about bag contents publish status
  - `date` string, date, required
  - `hasContents` boolean, required
  - `published` boolean, required
  - `canPublish` 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)
