Skip to main content

Appointment Availability

For loop type woo_appointment_availability, here are the query parameters and fields.

Query parameters

  • is_appointable - If it is appointable, (bool).

  • product_id - Appointable Product ID.

  • staff_id - Appointable Staff ID.

Fields

  • appointable - If appointable (bool)

  • date_created - Date created

  • date_modified - Date modified

  • end_date - Date end

  • event_id - Event id

  • from_date - From date

  • from_range - From range, depends on type. Returns hh:mm, # of month, # of week, # of day in week

  • id - ID

  • kind - Kind of availability - e.g. staff, product ... For global availabiity it is empty

  • kind_id - Kind id of availability - e.g. staff id, product id... For global availabiity it is empty

  • ordering - Availability ordering

  • priority - Availability priority

  • qty - Availability quantity

  • range_type - Range type, ie "custom", "custom:daterange", "months", "weeks", "days", "time"(recurring, all week) , "time:range"(recurring, date range) , "time:1"(time on specific day in a week)

  • rrule - Range rule

  • start_date - Date start

  • title - Availability title

  • to_date - To date

  • to_range - To range, depends on type. Returns hh:mm, # of month, # of week, # of day in week