Skip to content

Appointment Deleted

POST

Sent when an appointment is permanently deleted.

Media typeapplication/json
object
id
required

Unique identifier for this event delivery.

string
name
required

The name of the event, in resource.action format.

string
Allowed value: appointment.delete
createdAt
required

When the event was recorded by Upvio.

string format: date-time
business
required

The business the event belongs to.

object
id
required

Unique identifier across the Upvio platform.

string
data
required

An appointment and the resources it is linked to.

object
id
required

Unique identifier across the Upvio platform.

string
createdAt
required

ISO 8601 timestamp.

string format: date-time
updatedAt
required

ISO 8601 timestamp.

string format: date-time
date
required

When the appointment starts, in UTC.

string format: date-time
originalDate
Any of:

ISO 8601 timestamp.

string format: date-time
duration
required

Duration in minutes.

number
currency
string | null
price
number | null
approved
required
boolean
cancelled
required
boolean
businessId
required

Unique identifier across the Upvio platform.

string
serviceId
required

Unique identifier across the Upvio platform.

string
service
required
object
id
required

Unique identifier across the Upvio platform.

string
name
required
string
alias
string | null
links

Deprecated. Use links instead.

object
book
required

Absolute URL.

string format: uri
key
additional properties
key
additional properties
adHocServiceId
Any of:

Unique identifier across the Upvio platform.

string
staffId
required

Unique identifier across the Upvio platform.

string
staff
required
object
id
required

Unique identifier across the Upvio platform.

string
name
required
string
email
string | null
links

Deprecated. Use links instead.

object
book
required

Absolute URL.

string format: uri
key
additional properties
key
additional properties
staffName

Deprecated. Use staff.name.

string | null
additionalStaffIds
required
Array<string>
default:
patientId
required

Unique identifier across the Upvio platform.

string
patient
required
object
id
required

Unique identifier across the Upvio platform.

string
name
string | null
email
string | null
phone
string | null
key
additional properties
patientName

Deprecated. Use patient.name.

string | null
patientTimezone
string | null
location
Any of:
object
id
required

Unique identifier across the Upvio platform.

string
name
required
string
address
string | null
key
additional properties
locationType
string | null
locationValue
string | null
hangoutLink
string | null
answers
Any of:
Array<object>
object
id
required
string
question
string | null
answer
Any of:
variableName
string | null
key
additional properties
custom
Any of:
object
key
additional properties
paymentProvider
string | null
paymentId
string | null
transactionUrl
Any of:

Absolute URL.

string format: uri
groupBookingId
Any of:

Unique identifier across the Upvio platform.

string
recurringAppointmentId
Any of:

Unique identifier across the Upvio platform.

string
recurrence
Any of:
rrule
string | null
links
required
object
reschedule
required

Absolute URL.

string format: uri
cancel
required

Absolute URL.

string format: uri
key
additional properties
rescheduleUrl
required

Deprecated. Use links.reschedule.

string format: uri
cancelUrl
required

Deprecated. Use links.cancel.

string format: uri
previousAttributes
Any of:
object
key
additional properties
key
additional properties

Return any 2xx status code to acknowledge the delivery.