Notifications are the messages informing users of important events happening in their account.
Available queries
Notifications - Returns the list of notifications of the current user
query Notifications(
$orderBy: [QueryNotificationsOrderByOrderByClause!],
$first: Int = 10,
$page: Int
) {
Notifications(
orderBy: $orderBy
first: $first
page: $page
) {
paginatorInfo {
total
}
data {
id
created_at
read_at
data
type
}
}
}
You can sort data based on following fields : created_at
query Notifications(
$orderBy: [QueryNotificationsOrderByOrderByClause!],
$first: Int = 10,
$page: Int
) {
Notifications(
orderBy: $orderBy
first: $first
page: $page
) {
paginatorInfo {
total
}
data {
id
created_at
read_at
data
type
}
}
}