create_webhook
Set up automated notifications for WooCommerce events like orders, products, customers, and coupons by creating webhooks that send data to specified URLs.
Instructions
Create a webhook. Topics: order.created, order.updated, order.deleted, product.created, product.updated, product.deleted, customer.created, customer.updated, coupon.created, coupon.updated, etc.
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": {
"name": "<name>",
"topic": "<topic>",
"delivery_url": "<delivery_url>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| topic | Yes | ||
| delivery_url | Yes | ||
| secret | No | ||
| status | No | active |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |