Menu
Batch Webhooks
Batch create, update, and delete webhooks
POST
/webhooks/batchUse it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Batch Webhooks action (under Webhooks).
- Fill in the fields below, then reference the result from later steps as
{{batchWebhooks.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"create": [
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
],
"update": [
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
],
"delete": [
0
]
}
Response
Returns 200 with an object. Read it in later steps with {{batchWebhooks.response.data.<field>}}.
{
"create": [
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
],
"update": [
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
],
"delete": [
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
]
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?