Appointment
Get an appointment
Changed onReturns the appointment
get/appointments/{id}
Request
- Base URLhttps://partners-api.mytime.com/api
- AuthAPI key in header X-Api-Key
Path parameters
idstring required
The appointments's id
Query parameters
id_is_partnerboolean required
true - id is partner_id / false - id is mytime id
include_eventsboolean
Include the events for the appointment. true/false
include_notesboolean
Include the notes for the appointment. true/false
include_custom_field_valuesboolean
Include the custom field values for the appointment. true/false
include_segment_employeesboolean
Include the segment_employees for each segment of the appointment. true/false
Headers
X-Subdomainstring
Merchant subdomain - Optional
Response
Appointment response
Example response
{
"variations": [
{
"price": 120,
"multiplier_base_price": 40,
"price_multiplier": 3
}
]
}Changes
- info
removed the non-success response with the status
- info
- info
added the non-success response with the status
- info