Notifications

Query

notifications — Returns ConnectionType of Notification

No scope required

Sortable Fields

Fields from Notification that can be used to sort the connection items

  • createdAt
Arguments Type Description

register

ID

The register to get the notifications for

outlet

ID

The outlet to get the notifications for

Example Query
query GetNotifications($register: ID) {
    notifications(register: $register) {
        edges {
            node {
                id,
                data,
                readAt,
                createdAt,
                updatedAt
            }
        },
        pageInfo {
            hasNextPage,
            endCursor
        }
    }
}

# Example variables
{
    "register": "<REGISTER>"
}