Notifications Mutations

These mutations allow you to interact with notifications data.

deleteNotification

Returns: Notification!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteNotification(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

readAllNotifications

Returns: Int
Example Query
mutation {
readAllNotifications {
id
# Add other fields you need
}
}

readNotification

Returns: Notification

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
readNotification(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}