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 createddate_modified
- Date modifiedend_date
- Date endevent_id
- Event idfrom_date
- From datefrom_range
- From range, depends on type. Returns hh:mm, # of month, # of week, # of day in weekid
- IDkind
- Kind of availability - e.g. staff, product ... For global availabiity it is emptykind_id
- Kind id of availability - e.g. staff id, product id... For global availabiity it is emptyordering
- Availability orderingpriority
- Availability priorityqty
- Availability quantityrange_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 rulestart_date
- Date starttitle
- Availability titleto_date
- To dateto_range
- To range, depends on type. Returns hh:mm, # of month, # of week, # of day in week