Webhooks
Change Event Notification Settings
post/hooks_settings/{location_id}
Path parameters
location_idnumber required
location ID
Headers
Acceptstring required
e.g. application/vnd.api.v2+json
Content-Typestring required
application/json
Authorizationstring required
Bearer partner_token, User user_token
Request body
Example request
{
"urls": [
"https://dev.tools.test.com/test/Hooks"
],
"active": 0,
"salon": 1,
"service_category": 0,
"service": 1,
"good": 1,
"master": 1,
"client": 1,
"record": 1,
"goods_operations_sale": 1,
"goods_operations_receipt": 1,
"goods_operations_consumable": 1,
"goods_operations_stolen": 1,
"goods_operations_move": 1,
"finances_operation": 1,
"self_sending": 0
}Response
Created
Example response
{
"success": true,
"data": {
"urls": [
"https://dev.tools.test.com/test/Hooks"
],
"active": 0,
"salon": 1,
"service_category": 0,
"service": 1,
"good": 1,
"master": 1,
"client": 1,
"record": 1,
"goods_operations_sale": 1,
"goods_operations_receipt": 1,
"goods_operations_consumable": 1,
"goods_operations_stolen": 1,
"goods_operations_move": 1,
"finances_operation": 1
},
"meta": []
}