Booking Flow

Appointment Enquiries

Manage appointment enquiries.

post/shop/appointment-enquiries/{appointmentEnquiryId}/confirm

Confirm an enquiry using the start time provided.

actionConfirmAppointmentEnquiry

Use this endpoint to confirm an appointment enquiry

Path parameters

Request body

  • timestringrequired

    The date and time that the appointment should start.

Responses

  • 200

    Results of the availability check for an appointment enquiry

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 404

    The resource couldn't be found

  • 422

    The request didn't pass validation

get/shop/reports/appointment-enquiries

List appointment enquiries

listAppointmentEnquiries

Use this endpoint to retrieve a list of AppointmentEnquiry resources associated with a Site.

Query parameters

  • site_iduuidoptional

    Filter the list of enquiries by site

  • pageintegeroptional

    The page to retrieve results from

  • date_fromdateoptional

    Restrict results to those on or after this date, ISO-8601 YYYY-MM-DD.

  • date_todateoptional

    Restrict results to those on or before this date, ISO-8601 YYYY-MM-DD.

  • statusstringoptional

    Show enquiries of this status.

    Possible values:receivedconfirmedcancelled
  • can_confirmbooleanoptional

    Filter the list of enquiries by whether they are currently able to be confirmed.

  • received_fromdateoptional

    Include enquiries where the date the enquiry was received is on or after this date.

  • received_todateoptional

    Include enquiries where the date the enquiry was received is on or before this date.

  • appointment_type_idobject-idoptional

    Show enquiries for this appointment type.

  • sortstringoptional

    The field to order results by.

  • sort_orderstringoptional

    The direction to order results by.

    Possible values:ascdesc

Responses

  • 200

    The list of AppointmentEnquiry resources was successfully retrieved.

  • 401

    The user is unauthenticated

get/shop/reports/appointment-enquiries/queue

Queue an export of the appointment enquiries list

actionQueueAppointmentEnquirieReport

This endpoint queues an export of the appointment enquiries list.

Query parameters

  • site_iduuidoptional

    Filter the list of enquiries by site

  • date_fromdateoptional

    Restrict results to those on or after this date, ISO-8601 YYYY-MM-DD.

  • date_todateoptional

    Restrict results to those on or before this date, ISO-8601 YYYY-MM-DD.

  • statusstringoptional

    Show enquiries of this status.

    Possible values:receivedconfirmedcancelled
  • can_confirmbooleanoptional

    Filter the list of enquiries by whether they are currently able to be confirmed.

  • received_fromdateoptional

    Include enquiries where the date the enquiry was received is on or after this date.

  • received_todateoptional

    Include enquiries where the date the enquiry was received is on or before this date.

  • appointment_type_idobject-idoptional

    Show enquiries for this appointment type.

Responses

  • 200

    The job was successfully queued

  • 400

    The request failed.

  • 401

    The user is unauthenticated

get/shop/reports/appointment-enquiries/smart-filters

Get a list of smart filters for the appointment enquiries list.

getAppointmentEnquiriesSmartFilters

This endpoint retrieves a list of smart filters for the appointment enquiries list.

Query parameters

  • site_iduuidoptional

    Filter the list of enquiries by site

Responses

  • 200

    The smart filters were retrieved

  • 400

    The request failed.

  • 401

    The user is unauthenticated

get/shop/appointment-enquiries/{appointmentEnquiryId}

Show an Appointment Enquiry

getAppointmentEnquiry

Use this endpoint to retrieve a single AppointmentEnquiry by its ID. The response includes the enquiry's current status (received, confirmed or cancelled), the time window the enquiry covers (time_from and time_to), and a can_confirm flag indicating whether the requested appointment can currently be booked.

This is typically used after listing enquiries via listAppointmentEnquiries to refresh availability before calling actionConfirmAppointmentEnquiry.

Path parameters

Responses

  • 200

    The AppointmentEnquiry was successfully retrieved.

  • 401

    The user is unauthenticated

  • 404

    The resource couldn't be found