Webhooks
Atualizar um webhook
Changed onAtualiza um webhook específico
put/{alias}/webhooks/{id}
Request
- Base URLhttps://api.dooki.com.br/v2
- URLhttps://api.dooki.com.br/v2/{alias}/webhooks/{id}
- AuthAPI key in header User-Token and API key in header User-Secret-Key
Path parameters
aliasstring required
Alias da loja
idinteger required
ID do webhook
Request body
Example request
{
"url": "https://suaurl.com/api/webhooks",
"events": [
"order.created",
"cart.reminder"
],
"name": "Nome do webhook"
}Response
Webhook atualizado com sucesso
Example response
{
"name": "Webhook de integração com CRM",
"url": "https://suaurl.com/api/webhooks",
"disabled_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"created_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
}
}Changes
- info
endpoint added
- info