updateNotificationSubscription
Update a notification subscription.
updateNotificationSubscription(
input: UpdateNotificationSubscriptionInput
): UpdateNotificationSubscriptionPayload!
Example
- Query
- Variables
- Response
mutation ($input: UpdateNotificationSubscriptionInput) {
updateNotificationSubscription(input: $input) {
notificationSubscription {
active
createdAt
description
entityType
entityValue
id
updatedAt
vin
}
}
}
{
"input": {
"active": true,
"description": "A description",
"entityType": "entityType",
"entityValue": "entityValue",
"meta": {
"eventTypes": [
"eventTypes"
]
},
"notificationRecipientId": 42,
"notificationSubscriptionId": 42,
"vin": true
}
}
{
"data": {
"updateNotificationSubscription": {
"notificationSubscription": {
"active": true,
"createdAt": "2024-01-15T00:00:00.000Z",
"description": "A description",
"entityType": "entityType",
"entityValue": "entityValue",
"id": 42,
"updatedAt": "2024-01-15T00:00:00.000Z",
"vin": true
}
}
}
}
Arguments
updateNotificationSubscription.input ● UpdateNotificationSubscriptionInput input common
The notification subscription changes to apply.
Type
UpdateNotificationSubscriptionPayload object common
The result of updating a notification subscription.