Shops > Webhooks > webhooksModify
POST:webhooks.json
Description
Modify one or multiple webhook endpoints.
Permission bit: "webhooks.modify"
Topic: Webhooks
Arguments
data: [WebhookModify!]!
Main argument for mutations.
List of webhook ids. See also: Unique Identifiers
Example: ["wh_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Whether this webhook is enabled or not
Example: true
Webhook endpoint URL
Example: "http://foobar.com/webhooks/app"
Valid when: url is not empty
Valid when: url's length doesn't exceed 250 characters
Send only these event types, when empty - send all
Result
[Webhook!]
Preview (typescript)
Loading module