Account Updated

Notifying when a business account is updated

The event is triggered when the business is updated

Webhook authorization: using a directory token.

Subscribing to the Account Updated webhook:

curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "account/updated",
"target_url": "URL"
}'

Account Updated Payload Example:


{
  "id": "123456789abcdefg",
  "email": "[email protected]",
  "phone": "123456789",
  "address": "Tel Aviv",
  "name": "School Of Rock",
  "time_zone": "Jerusalem",
  "country_name": "Israel",
  "short_description": "Private and intimate music school for all levels and ages",
  "business_category": "school_center",
  "website_url": "https://SchoolOfRock.co.il",
  "hide_address": false,
  "min_hours_before_meeting": 1,
  "future_bookings_limit": 30,
  "logo_url": "https://c15117557.ssl.cf2.rackcdn.com/avatar/image/868656/normal_6sfv33ec8klwtc22u3w3up85x4oig7di.jpg"
}