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": "123456789abcdefg",
"email": "[email protected]",
"phone": "123456789",
"address": "Tel Aviv",
"name": "School Of Rock",
"time_zone": "Jerusalem",
"country_name": "Israel",
"short_description": "Short description goes here",
"business_category": "school_center",
"website_url": "https://SchoolOfRock.co.il",
"hide_address": false,
"logo_url": "https://c15117557.ssl.cf2.rackcdn.com/avatar/image/868656/normal_6sfv33ec8klwtc22u3w3up85x4oig7di.jpg"
}