create_webhook
Subscribe to Shopify events by creating webhook subscriptions to receive real-time notifications for actions like order creation or product updates.
Instructions
Create a new webhook subscription. Common topics: orders/create, orders/updated, products/create, products/update, customers/create, app/uninstalled.
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>",
"address": "<address>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Webhook topic (e.g. 'orders/create', 'products/update'). | |
| address | Yes | The URL where the webhook will POST data to. | |
| format | No | Data format. Default: json. | json |