{
"url": "https://mi-sistema.com/webhooks/boh",
"events": ["inventory_transaction.completed", "purchase_order.status_changed"],
"secret": "mi_secreto_webhook_super_seguro"
}
{
"id": "wep_01j5k...",
"url": "https://mi-sistema.com/webhooks/boh",
"events": ["inventory_transaction.completed", "purchase_order.status_changed"],
"status": "ACTIVE"
}
Webhooks
Crear webhook
Registra un nuevo endpoint webhook para recibir notificaciones de eventos.
POST
/
api
/
v1
/
public
/
admin
/
webhooks
{
"url": "https://mi-sistema.com/webhooks/boh",
"events": ["inventory_transaction.completed", "purchase_order.status_changed"],
"secret": "mi_secreto_webhook_super_seguro"
}
{
"id": "wep_01j5k...",
"url": "https://mi-sistema.com/webhooks/boh",
"events": ["inventory_transaction.completed", "purchase_order.status_changed"],
"status": "ACTIVE"
}
string
requerido
API key de BOH con scope
admin:webhooks.string
requerido
URL HTTPS de destino donde se entregarán los eventos.
string[]
requerido
Array de tipos de evento a suscribir. Usa
["*"] para todos los eventos.string
Secreto para firmar los payloads (recomendado). Se usa para verificar la cabecera
x-boh-signature.{
"url": "https://mi-sistema.com/webhooks/boh",
"events": ["inventory_transaction.completed", "purchase_order.status_changed"],
"secret": "mi_secreto_webhook_super_seguro"
}
{
"id": "wep_01j5k...",
"url": "https://mi-sistema.com/webhooks/boh",
"events": ["inventory_transaction.completed", "purchase_order.status_changed"],
"status": "ACTIVE"
}

