---
title: "Read your notifications"
description: "List the notifications a store sends you, mark and delete them, and choose which types reach you."
---

> 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.

# Read your notifications

Every member hears about the store's events in their own notifications: new sales and subscriptions, cancellations, failed renewals, refunds and disputes that need them, approval requests, waitlist joins, new reviews, the business's payouts and plan limits, and work that stopped. These calls read and change the caller's own notifications, so they need a token that acts as a seller: a business token is refused with `not_permitted`. Reading needs `user:read`, changing needs `user:write`.

## List them

<a href="/merchant-api/reference/list-member-notifications/">`GET /me/notifications`</a> pages the store's notifications, newest first. Payouts and plan limits belong to the business and are told once for all its stores, so they come from <a href="/merchant-api/reference/list-business-notifications/">`GET /me/business_notifications`</a>, the same in every store. Filter either by `read` and ask for the `total` alone for an unread badge:

```bash
curl -g 'https://api.sherpo.io/merchant/v1/stores/STORE_ID/me/notifications?filter[read][eq]=false&limit=1&count=true' \
  -H "Authorization: Bearer $SHERPO_TOKEN"
```

```js
const answer = await sherpo('GET', '/v1/stores/STORE_ID/me/notifications', {
  query: [
    ['filter[read][eq]', 'false'],
    ['limit', '1'],
    ['count', 'true'],
  ],
});
```

Answers `200`, abridged:

```json
{
  "items": [
    {
      "id": "0f6c2a1e-3b7d-4c55-9a1e-2d8f4b6a7c90",
      "type": "new_sale",
      "title": "3 new sales of Sourdough at home",
      "body": "Giulia Rossi and 2 others, €147.00",
      "path": "/orders",
      "count": 3,
      "created_at": "2026-11-02T18:40:00.000Z",
      "updated_at": "2026-11-02T18:44:00.000Z",
      "read_at": null
    }
  ],
  "cursor": "c_next",
  "total": 4
}
```

Each notification has a `type`, a `title` and a `body` in English, the `path` it opens under the store in the merchant app, how many events it tells (`count`), and `read_at`. Several events of one kind close together fold into one unread notification, its `count` and text growing, and its `updated_at` moving it back to the top. A notification answers only while your token's scopes read what it tells: one naming an amount needs `revenue:read`, and payouts need a full seat.

## Mark and delete

<a href="/merchant-api/reference/mark-member-notifications-read/">Mark notifications read</a> takes the `ids` to mark, the store's or the business's, or marks every unread one when you name none. <a href="/merchant-api/reference/delete-member-notifications/">Delete notifications</a> deletes the named ones, read or not, or every read one.

## Choose the types

<a href="/merchant-api/reference/get-member-notification-settings/">Read notification settings</a> answers every type with `list` (it lands in your notifications), `push` (it's pushed to your browsers too), `available` (your access lets you hear about it) and `business` (its setting is shared by every store of the business). <a href="/merchant-api/reference/update-member-notification-settings/">Update notification settings</a> changes the types you name:

```bash
curl -X PATCH 'https://api.sherpo.io/merchant/v1/stores/STORE_ID/me/notification_settings' \
  -H "Authorization: Bearer $SHERPO_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
  "types": {
    "new_review": {
      "push": true
    },
    "waitlist_join": {
      "list": false
    }
  }
}'
```

```js
const answer = await sherpo('PATCH', '/v1/stores/STORE_ID/me/notification_settings', {
  body: {
    "types": {
      "new_review": {
        "push": true
      },
      "waitlist_join": {
        "list": false
      }
    }
  },
});
```

Answers `200`, abridged:

```json
{
  "types": [
    {
      "type": "new_review",
      "list": true,
      "push": true,
      "available": true,
      "business": false
    },
    {
      "type": "waitlist_join",
      "list": false,
      "push": false,
      "available": true,
      "business": false
    }
  ]
}
```

The answer lists every type; two are shown here.

A type turned off in the list is never pushed. Push reaches the browsers you allowed in the merchant app; there is no API for them, as only a browser holds one.

Source: https://docs.sherpo.io/merchant-api/guides/notifications/index.mdx
