Mutation
mutation webhook_disable(
$data: DisableWebhookInput!
) {
webhook_disable(
data: $data
) {
request_id
complexity
webhook {
...WebhookFragment
id
legacy_id
account_id
shop_name
name
url
source
enabled
health
created_at
updated_at
last_enabled_change
shared_signature_secret
}
}
}
Variables
{
"data": {
"webhook_id": "V2ViaG9vazoxMjM0"
}
}
Response
{
"data": {
"webhook_disable": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"webhook": {name: "Order Shipped Webhook", url: "https://example.com/webhooks/shiphero"}
}
}
}