Service Updated

Subscription to the service updated webhook example

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

Service updated payload example

{
  "entity_name": "service",
  "event_type": "update",
  "data": {
    "uid": "jy6hpuy25g0n83oa",
    "name": "my availability service",
    "type": "AppointmentService",
    "image_path": null,
    "interaction_type": "default_business_location",
    "duration": 75,
    "min_hours_before_meeting": 72,
    "padding": 20,
    "future_bookings_limit": 60,
    "interval": 20,
    "price": null,
    "meeting_length": 75,
    "charge_type": "no_price",
    "active": true,
    "max_attendance": null,
    "currency": "ILS",
    "business_uid": "k5lh1ri2rygw6nnp",
    "updated_at": "2024-03-19T11:35:59.000+02:00"
  }
}