saleor-apps-redis_apl/apps/search/graphql/mutations/DisableWebhook.graphql
Lukasz Ostrowski 40bed99316
Webhooks optimization (#434)
* Disable webhooks in manifest and create graphql operations

* Add webhook enabler service

* Add webhooks to subscription events

* Disable webhooks when webhok operation fail

* display webhooks status

* Display failed deliveries

* Use react query in webhooks-status, refetch it when configu updated

* Extracted main instructons

* Better webhook instructions

* Optimize webhooks fetching from subscription

* Test for WebhooksAcivityToggler

* Changeset

* Test for webhook status handler WIP

* Test wip

* Rewrite test
2023-04-29 11:30:48 +02:00

11 lines
174 B
GraphQL

mutation DisableWebhook($id: ID!) {
webhookUpdate(id: $id, input: { isActive: false }) {
errors {
message
}
webhook {
id
isActive
}
}
}