Business info subscribe example:
curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "pivot/update",
"target_url": "URL"
}'
Business info response example:
{
"id": "ua48ta14yoqqz3r3",
"email": "[email protected]",
"phone": "123456789",
"address": "some address",
"name": "School Of Rock",
"time_zone": "Jerusalem",
"country_name": "Israel",
"short_description": "Short description goes here",
"business_category": "school_center",
"website_url": "https://mywebsiteurl.com",
"hide_address": false,
"logo_url": "https://logourl.jpg"
}