Create an Appointment

This example walks you through booking an appointment with our create-appointment API. First we fetch appointment types and prompt the user to choose one. Using the selected appointment type, we check available dates and times from the API and ask the user to choose. Finally, basic client information is collected and we create the appointment.

{{#if appointment}}

Appointment:

{{appointment}}
Start Over {{else}}
{{#if start}} {{else}} {{#if appointmentTypes}}

Appointment Type:

{{else}}

Appointment Type: {{appointmentType.name}}

{{#if dates}}

Date:

{{else}}

Date: {{date}}

{{#if times}}

Time:

{{else}}

Time: {{time}}

Client Info:

{{/if}} {{/if}} {{/if}}

Reset

{{/if}}
{{/if}}