createWebhook
Configure webhook subscriptions to receive Shopify event notifications. Specify topic and callback URL.
Instructions
Create a webhook subscription
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>",
"callbackUrl": "<callbackUrl>"
},
"name": "createWebhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The webhook topic (e.g., ORDERS_CREATE) | |
| callbackUrl | Yes | The URL to receive webhook notifications | |
| format | No | JSON | |
| includeFields | No |