Shops > Webhooks > webhooksCreate
POST:webhooks.json
Description
Create one or multiple webhook endpoints.
Permission bit: "webhooks.create"
Topic: Webhooks
Arguments
data: [WebhookCreate!]!
Main argument for mutations.
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
Result
[Webhook!]
Preview (typescript)
Loading module