webhook_update_url
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | UpdateUrlWebhookInput! | Yes |
Return Type
Mutation
mutation webhook_update_url(
$data: UpdateUrlWebhookInput!
) {
webhook_update_url(
data: $data
) {
request_id
complexity
webhook {
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": "abc123",
"new_url": "abc123"
}
}Response
{
"data": {
"webhook_update_url": {
"request_id": "abc123",
"complexity": 987,
"webhook": Webhook
}
}
}