saleor-apps-redis_apl/apps/search/graphql/subscriptions/productVariantDeleted.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

16 lines
255 B
GraphQL

subscription ProductVariantDeleted {
event {
__typename
... on ProductVariantDeleted {
__typename
productVariant {
...ProductVariantWebhookPayload
}
}
recipient {
webhooks {
id
}
}
}
}