---
title: "Marks the caller's named notifications read, the store's and the business's, or every unread one when none is named."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sherpo.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Sherpo merchant API › user

`POST /v1/stores/{store}/me/notifications/read`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `user:write`

## Path parameters

- `store` (`markMemberNotificationsRead.path.store`; string, required) — The store's id.

## Request body

_Optional._

- `ids` (`markMemberNotificationsRead.ids`; array<string>, optional) — The notifications to mark read, the store's or the business's, each once; left out, every unread one is.
  - minLength 1; maxLength 64

## Example request

```json
{
  "ids": [
    "string"
  ]
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.sherpo.io/merchant/v1/stores/<store>/me/notifications/read' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "string"
  ]
}
'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/me/notifications/read';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({ids: ['string']})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/merchant/v1/stores/<store>/me/notifications/read"

payload = { "ids": ["string"] }
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Marks the caller's named notifications read, the store's and the business's, or every unread one when none is named.

#### Example

```json
{
  "marked": 0
}
```

- `marked` (`markMemberNotificationsRead.response.200.marked`; number, required)

### default

A problem; see https://api.sherpo.io/merchant/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`markMemberNotificationsRead.response.default.type`; string, required)
  - format `uri`
- `title` (`markMemberNotificationsRead.response.default.title`; string, required)
- `status` (`markMemberNotificationsRead.response.default.status`; integer, required)
- `detail` (`markMemberNotificationsRead.response.default.detail`; string, required)
- `code` (`markMemberNotificationsRead.response.default.code`; string, optional)
- `context` (`markMemberNotificationsRead.response.default.context`; object, optional)
- `reached_core` (`markMemberNotificationsRead.response.default.reached_core`; boolean, optional)
- `core_answer` (`markMemberNotificationsRead.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/mark-member-notifications-read/index.md
