save_integration_webhook
Create or update an inbound webhook. Pass webhookId to update. Create requires packageId. bodyFormat form accepts application/x-www-form-urlencoded. Handlers include run_integration_query and redirect. Invalid definitions return 400 invalid_input with path. Shape: get_docs path settings/integrations.
save_integration_webhook · Grup: settings
Girdiler
websiteId
zorunlu — uuid
packageId
isteğe bağlı — uuid
webhookId
isteğe bağlı — uuid
definition
zorunlu — integration webhook definition
dryRun
isteğe bağlı
Şema
{
"name": "save_integration_webhook",
"group": "settings",
"inputFields": [
{
"name": "websiteId",
"required": true,
"schemaHint": "uuid"
},
{
"name": "packageId",
"required": false,
"schemaHint": "uuid"
},
{
"name": "webhookId",
"required": false,
"schemaHint": "uuid"
},
{
"name": "definition",
"required": true,
"schemaHint": "integration webhook definition"
},
{
"name": "dryRun",
"required": false
}
]
}Eşlendiği uçlar
POST /api/v1/{locale}/{websiteId}/integrations