Skip to content

Notifications Endpoints ​

List Notifications ​

Retrieve system notifications filtered by type.

GET /notifications/list

Query Parameters:

ParameterTypeRequiredDescription
notification_typestringYesType of notification: inventory_alerts, price_alerts, or restock_alerts
pageintegerNoPage number for pagination

Plus an account selection parameter.

Example Request:

bash
curl -X GET "https://app.sellerlegend.com/api/notifications/list?account_title=My Store US&notification_type=inventory_alerts" \
  -H "Authorization: Bearer {ACCESS_TOKEN}"

Response:

json
{
  "data": [
    {
      "id": 1234,
      "type": "inventory_alerts",
      "title": "Low Stock Alert",
      "message": "MY-SKU-001 has only 5 units remaining in FBA",
      "severity": "high",
      "sku": "MY-SKU-001",
      "created_at": "2025-01-15T08:30:00Z",
      "read": false
    }
  ]
}

Response Fields:

FieldTypeDescription
idintegerNotification ID
typestringNotification type
titlestringNotification title
messagestringDetailed notification message
severitystringAlert severity: low, medium, or high
skustringRelated product SKU (if applicable)
created_atstringISO 8601 timestamp
readbooleanWhether the notification has been read

Python SDK:

python
from sellerlegend_api import SellerLegendClient

client = SellerLegendClient(access_token="YOUR_ACCESS_TOKEN")

notifications = client.notifications.list(
    account_title="My Store US",
    notification_type="inventory_alerts"
)

for notification in notifications['data']:
    status = "Read" if notification['read'] else "Unread"
    print(f"[{status}] {notification['title']}: {notification['message']}")

Notification Types ​

TypeDescription
inventory_alertsLow stock, out-of-stock, and stranded inventory alerts
price_alertsBuy Box price changes, competitor price changes
restock_alertsRestock reminders based on velocity and lead times