Admin Notifications
List notifications
Changed onOrder notifications, newest first, as shown in the admin notification bell and Notifications page. meta.statusCounts gives the number of notifications per order status and meta.totalUnread the unread total; both ignore the filters.
get/notifications
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
statusstring
Order status to filter by (pending, processing, completed, canceled, closed, fraud, pending_payment). All or omitted means every status.
read0 | 1
0 for unread only, 1 for read only.
pageinteger
Page number.
per_pageinteger
Items per page (default 10, max 50). limit is accepted as an alias.
Response
Notifications.
Changes
- info
endpoint added
- info