Waitwhile
App · 20 actions
Manage Waitwhile visits and customers, find booking slots, and look up locations, services, and resources.
Actions
| Action | What it does |
|---|---|
| Create a customer | Create a customer. |
| Delete a customer | Delete a customer. |
| Get a customer | Get a customer. |
| Get a location | Get a location. |
| Get a location status | Get a location status. |
| Get a message | Get a message. |
| Get a resource | Get a resource. |
| Get a service | Get a service. |
| Get a visit | Get a visit. |
| Get visit analytics by date | Get visit analytics by date. |
| List booking slots | List booking slots. |
| List customers | List customers. |
| List first available slots | List first available slots. |
| List location statuses | List location statuses. |
| List locations | List locations. |
| List messages | List messages. |
| List resources | List resources. |
| List services | List services. |
| List visits | List visits. |
| Update a customer | Update a customer. |
Create a customer
Create a customer.
Inputs
- Name
nametext - Name to use.
- First name
first_nametext - First name to use.
- Last name
last_nametext - Last name to use.
- Phone
phonetext - Phone to use.
- Email
emailtext - Email to use.
- Notes
notestext - Notes to use.
- Tags
tagslist - Tags to use.One or more of:
NO-SHOW,CANCELLED,REMOVED,ALERTED,ARRIVED,DELAYED,CONFIRMED,EXPIRED,FLAGGED,IMPORTED, and 4 more. - Location IDs
location_idslist - Location IDs to use.
- External ID
external_idtext - External ID to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"created": "example",
"createdBy": "example",
"email": "example",
"externalId": "example",
"firstName": "example",
"id": "example",
"isAnonymized": false,
"lastName": "example",
"lastVisits": {},
"locationIds": [],
"metadata": {},
"name": "example",
"notes": "example",
"phone": "example",
"states": {},
"tags": [],
"updated": "example",
"updatedBy": "example"
}
}Delete a customer
Delete a customer.
Inputs
- Customer ID
customer_idtextRequired - Identifier of customer, automatically derived from visitor contact information if not provided.
Outputs
dataobject- Response.
Example output
{
"data": {
"error": "example",
"errorCode": "access_blocked",
"message": "example",
"statusCode": 1
}
}Get a customer
Get a customer.
Inputs
- Customer ID
customer_idtextRequired - Identifier of customer, automatically derived from visitor contact information if not provided.
Outputs
dataobject- Response.
Example output
{
"data": {
"created": "example",
"createdBy": "example",
"email": "example",
"externalId": "example",
"firstName": "example",
"id": "example",
"isAnonymized": false,
"lastName": "example",
"lastVisits": {},
"locationIds": [],
"metadata": {},
"name": "example",
"notes": "example",
"phone": "example",
"states": {},
"tags": [],
"updated": "example",
"updatedBy": "example"
}
}Get a location
Get a location.
Inputs
- Short name or
short_name_or_idtextRequired - Short name or identifier
Outputs
dataobject- Response.
Example output
{
"data": {
"addGoals": [],
"addLabels": [],
"address": {
"city": "example",
"country": {
"code": "example",
"name": "example"
},
"state": {
"code": "example",
"name": "example"
},
"street": "example",
"street2": "example",
"zip": "example"
},
"allowEstWaitToExceedHours": false,
"assignedPlugins": [],
"bookingAllowOverbooking": false,
"bookingHours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"bookingHoursByDate": {},
"bookingRejectUnknownCustomers": false,
"bookingSlotColor": "DEFAULT",
"bookingWaitlistOrder": "FIRST",
"businessName": "example",
"businessType": "ANIMAL",
"coordinates": {
"geohash": "example",
"lat": 1.0,
"lng": 1.0
},
"created": "example",
"createdBy": "example",
"currency": "example",
"customStyleUrl": "example",
"customerSearchMethod": "TYPEAHEAD",
"customerSessionOverlapMode": "ALLOW",
"defaultNumServers": 1,
"defaultServeDuration": 1,
"defaultVisitOrderValue": 1.0,
"displayName": "example",
"email": "example",
"emailReplyToAddress": "example",
"enableResourceAutoAway": false,
"enableResourceAwayAtLogout": false,
"expiryRules": {
"BOOKED": {
"duration": 1,
"state": "COMPLETE",
"suppressMessages": false,
"tags": []
},
"SERVING": {
"duration": 1,
"state": "WAITING",
"suppressMessages": false,
"tags": []
},
"WAITING": {
"duration": 1,
"state": "SERVING",
"suppressMessages": false,
"tags": []
}
},
"externalCustomerIdValidation": "example",
"externalId": "example",
"goals": [],
"hours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"hoursByDate": {},
"i18n": {},
"id": "example",
"isActive": false,
"isForceClosed": false,
"isForceOpen": false,
"isGoogleWaitlist": false,
"isMaxCapacityActive": false,
"isPublicBooking": false,
"isPublicCheckIn": false,
"isPublicIndexed": false,
"isPublicSearch": false,
"isPublicWaitlist": false,
"labels": [],
"logoUrl": "example",
"maxPartySize": 1,
"maxPartySizeBookings": 1,
"maxServing": 1,
"maxServingActive": false,
"maxServingIncludeUpcoming": false,
"maxWaiting": 1,
"maxWaitingActive": false,
"metadata": {},
"name": "example",
"openWaitlistOnlyAtMaxCapacity": false,
"phone": "example",
"publicLocales": [],
"publicLogoUrl": "example",
"publicRegistrationHeaderContent": "LOCATION_LOGO",
"publicStyleUrl": "example",
"publicTheme": {
"bgColor": "example",
"bgImageUrl": "example",
"btnBgColor": "example",
"btnBorderRadius": "example",
"btnTextColor": "example",
"contentBgColor": "example",
"headingFont": "example",
"layout": "CENTERED",
"secondaryBtnBgColor": "example",
"secondaryBtnTextColor": "example",
"textColor": "example",
"textFont": "example"
},
"quickVisitRules": {
"enabled": false,
"requireCustomerId": false,
"requireEmail": false,
"requireName": false,
"requireNotes": false,
"requirePartySize": false,
"requirePhone": false,
"requireQuote": false,
"requireService": false,
"requiredDataFieldIds": [],
"requiredResourceCategoryIds": [],
"requiredServiceCategoryIds": []
},
"recaptchaIpAllowlist": [],
"recaptchaMinScore": 1.0,
"removeGoals": [],
"removeLabels": [],
"replyTriggers": [],
"resourceCategoryDisplay": "LIST",
"resourceCategoryOpenState": "OPEN_FIRST",
"resourceItemLayout": "LIST",
"savedReplies": [],
"serviceCategoryDisplay": "LIST",
"serviceCategoryOpenState": "OPEN_FIRST",
"serviceItemLayout": "LIST",
"shortName": "example",
"showEmailQrCode": false,
"signUpTriggers": [],
"smsSignupAction": "ADD_TO_WAITLIST",
"theme": "white",
"ticketPrefix": "example",
"ticketPrefixMode": "STATIC",
"timezone": "example",
"updated": "example",
"updatedBy": "example",
"visitLockDisabled": false,
"visitQrCodeAction": "SHOW-PUBLIC",
"visitRules": [],
"visitSteps": {
"BOOKED": {
"color": "example",
"i18n": {},
"name": "example",
"nextStepId": "PENDING",
"order": 1,
"state": "BOOKED"
},
"COMPLETE": {
"color": "example",
"i18n": {},
"name": "example",
"nextStepId": "PENDING",
"order": 1,
"state": "COMPLETE"
},
"DRAFT": {
"color": "example",
"i18n": {},
"name": "example",
"nextStepId": "PENDING",
"order": 1,
"state": "DRAFT"
},
"PENDING": {
"color": "example",
"i18n": {},
"name": "example",
"nextStepId": "PENDING",
"order": 1,
"state": "PENDING"
},
"SERVING": {
"color": "example",
"i18n": {},
"name": "example",
"nextStepId": "PENDING",
"order": 1,
"state": "SERVING"
},
"WAITING": {
"color": "example",
"i18n": {},
"name": "example",
"nextStepId": "PENDING",
"order": 1,
"state": "WAITING"
}
},
"visitTagRules": [],
"waitlistHours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"waitlistHoursByDate": {},
"waitlistRejectUnknownCustomers": false,
"website": "example"
}
}Get a location status
Get a location status.
Inputs
- Location
location_idtextRequired - Identifier of location
Outputs
dataobject- Response.
Example output
{
"data": {
"accountBusinessName": "example",
"accountDisplayName": "example",
"accountId": "example",
"accountShortName": "example",
"activeResources": [],
"activeServices": [],
"address": {
"city": "example",
"country": {
"code": "example",
"name": "example"
},
"state": {
"code": "example",
"name": "example"
},
"street": "example",
"street2": "example",
"zip": "example"
},
"allowIncomingMessages": false,
"allowSMSSignup": false,
"availabilityStateByResource": {
"array": "ACTIVE"
},
"availableBookingResourceIds": [],
"availableBookingServiceIds": [],
"availableWaitlistResourceIds": [],
"availableWaitlistServiceIds": [],
"businessName": "example",
"businessType": "ANIMAL",
"currency": "example",
"displayName": "example",
"email": "example",
"hasCapacitySinceByResource": {
"array": "example"
},
"id": "example",
"isActive": false,
"isBookingActive": false,
"isBookingOpen": false,
"isForceClosed": false,
"isForceOpen": false,
"isFreeAccount": false,
"isOpen": false,
"isPublicBooking": false,
"isPublicCheckIn": false,
"isPublicSearch": false,
"isPublicWaitlist": false,
"isServingFull": false,
"isWaitlistActive": false,
"isWaitlistFull": false,
"isWaitlistOpen": false,
"labels": [],
"lastActive": "example",
"lastBookingUpdate": "example",
"logoUrl": "example",
"maxPartySize": 1,
"maxPartySizeBookings": 1,
"naEstWaitReason": "LOCATION_IS_CLOSED_FOR_DAY",
"name": "example",
"nextTicket": 1,
"numBooked": 1,
"numBookedGuests": 1,
"numDraftBooked": 1,
"numDraftBookedGuests": 1,
"numDraftWaiting": 1,
"numDraftWaitingGuests": 1,
"numPendingWaiting": 1,
"numPendingWaitingGuests": 1,
"numServers": 1,
"numServing": 1,
"numServingByPartySize": {},
"numServingByResource": {},
"numServingByService": {},
"numServingGuests": 1,
"numServingGuestsByResource": {},
"numWaiting": 1,
"numWaitingByPartySize": {},
"numWaitingByResource": {},
"numWaitingByService": {},
"numWaitingGuests": 1,
"numWaitingGuestsByResource": {},
"openDuration": 1,
"phone": "example",
"publicLocales": [],
"publicLogoUrl": "example",
"publicPagesExperiments": [],
"resources": [],
"services": [],
"shortName": "example",
"showCheckInWelcome": false,
"smsProviderNumbers": [],
"timezone": "example",
"updated": "example",
"wait": 1,
"waitByPartySize": {},
"waitByResource": {},
"waitByService": {},
"waitEstimationMethodInfo": {
"estimateServiceDuration": false,
"method": "example",
"partySizeServiceDurationFactor": 1.0,
"version": "example"
}
}
}Get a message
Get a message.
Inputs
- Message ID
message_idtextRequired - Unique identifier
Outputs
dataobject- Response.
Example output
{
"data": {
"body": "example",
"channel": "EMAIL",
"created": "example",
"createdBy": "example",
"customerId": "example",
"errorCode": "example",
"errorMessage": "example",
"externalId": "example",
"id": "example",
"isAnonymized": false,
"isIncoming": false,
"isRead": false,
"locationId": "example",
"providerId": "TWILIO",
"recipient": "example",
"recipientName": "example",
"sender": "example",
"senderName": "example",
"state": "PENDING",
"subject": "example",
"substitutions": {},
"templateId": "example",
"type": "example",
"updated": "example",
"updatedBy": "example",
"visitId": "example"
}
}Get a resource
Get a resource.
Inputs
- Resource
resource_idtextRequired - Identifier of resource
Outputs
dataobject- Response.
Example output
{
"data": {
"access": "PUBLIC",
"addLocationIds": [],
"addSupportedServiceIds": [],
"alias": "example",
"allowSharing": false,
"bookingHours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"bookingHoursByDate": {},
"bookingSpotsPerDay": 1,
"color": "example",
"created": "example",
"createdBy": "example",
"description": "example",
"displayName": "example",
"email": "example",
"enableAutoAway": false,
"externalId": "example",
"firstAvailableDisplay": "hidden",
"hours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"hoursByDate": {},
"i18n": {},
"id": "example",
"includeInRestrictedMode": false,
"includeInWaitEstimation": false,
"isActive": false,
"isActiveBooking": false,
"isActiveWaitlist": false,
"isAway": false,
"isAwayFrom": "example",
"isAwayReason": "example",
"isAwayTo": "example",
"isCategory": false,
"isMale": false,
"isPublic": false,
"isRequired": false,
"labels": [],
"location": "example",
"locationIds": [],
"maxSelection": 1,
"maxSelectionStaff": 1,
"maxServed": 1,
"metadata": {},
"minSelection": 1,
"minServed": 1,
"name": "example",
"order": 1,
"parentId": "example",
"phone": "example",
"photoUrl": "example",
"removeLocationIds": [],
"removeSupportedServiceIds": [],
"requireUserActiveOnLocation": false,
"serviceDurationModifier": 1.0,
"staffPreSelectionModes": {},
"staffSelectionComponent": "BUTTON",
"supportedServiceIds": [],
"type": "RESOURCE",
"updated": "example",
"updatedBy": "example",
"url": "example",
"userId": "example",
"waitlistHours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"waitlistHoursByDate": {}
}
}Get a service
Get a service.
Inputs
- Service
service_idtextRequired - Identifier of service
Outputs
dataobject- Response.
Example output
{
"data": {
"access": "PUBLIC",
"addLocationIds": [],
"alias": "example",
"allowSharing": false,
"bookingHours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"bookingHoursByDate": {},
"bookingSpotsPerDay": 1,
"bookingSyncDisabled": false,
"bufferDuration": 1,
"color": "example",
"created": "example",
"createdBy": "example",
"currency": "example",
"description": "example",
"displayName": "example",
"duration": 1,
"externalId": "example",
"hours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"hoursByDate": {},
"i18n": {},
"id": "example",
"isActive": false,
"isActiveBooking": false,
"isActiveWaitlist": false,
"isCategory": false,
"isPublic": false,
"labels": [],
"locationIds": [],
"maxBookingLeadDuration": 1,
"maxSelection": 1,
"metadata": {},
"minBookingLeadDuration": 1,
"minSelection": 1,
"name": "example",
"order": 1,
"orderValue": 1.0,
"parentId": "example",
"photoUrl": "example",
"price": 1.0,
"publicSlotDuration": 1,
"removeLocationIds": [],
"schedulingMode": "HOURS",
"sessions": [],
"slotDuration": 1,
"staffSelectionComponent": "BUTTON",
"type": "RESOURCE",
"updated": "example",
"updatedBy": "example",
"waitlistHours": {
"fri": {
"isOpen": false,
"periods": []
},
"mon": {
"isOpen": false,
"periods": []
},
"sat": {
"isOpen": false,
"periods": []
},
"sun": {
"isOpen": false,
"periods": []
},
"thu": {
"isOpen": false,
"periods": []
},
"tue": {
"isOpen": false,
"periods": []
},
"wed": {
"isOpen": false,
"periods": []
}
},
"waitlistHoursByDate": {}
}
}Get a visit
Get a visit.
Inputs
- Visit ID
visit_idtextRequired - Identifier of visit
Outputs
dataobject- Response.
Example output
{
"data": {
"alertedTime": "example",
"arrivedTime": "example",
"bookingTime": "example",
"cancelTime": "example",
"completedTime": "example",
"confirmedTime": "example",
"created": "example",
"createdBy": "example",
"customerId": "example",
"dataFields": [],
"date": "example",
"delayedTime": "example",
"draftTime": "example",
"duration": 1,
"email": "example",
"estWaitDuration": 1,
"expiredTime": "example",
"externalCustomerId": "example",
"externalId": "example",
"firstName": "example",
"flaggedTime": "example",
"id": "example",
"importedTime": "example",
"isAnonymized": false,
"isBlock": false,
"lastAlertedTime": "example",
"lastName": "example",
"liveActivityToken": {
"apnsToken": "example",
"fcmToken": "example"
},
"locale": "ca-AD",
"locationId": "example",
"messagingTokens": [],
"metadata": {},
"name": "example",
"nextInLineTime": "example",
"nextInLineTriggerTime": "example",
"noShowTime": "example",
"notes": "example",
"orderValue": {
"currency": "example",
"value": 1.0
},
"originalEstWaitDuration": 1,
"originalPosition": 1,
"partySize": 1,
"pendingExpireTime": "example",
"pendingTime": "example",
"phone": "example",
"position": 1,
"prioritizedTime": "example",
"publicId": "example",
"quotedWaitDuration": 1,
"rejectedTime": "example",
"removedTime": "example",
"resourceIds": [],
"serveDuration": 1,
"serveTime": "example",
"serviceIds": [],
"sessionSeriesId": "example",
"source": "WEB-APP",
"state": "PENDING",
"stepId": "PENDING",
"surveyTime": "example",
"tags": [],
"ticket": "example",
"triggeredSurveys": [],
"type": "WAITLIST",
"updated": "example",
"updatedBy": "example",
"waitDuration": 1,
"waitlistTime": "example"
}
}Get visit analytics by date
Get visit analytics by date.
Inputs
- Location
location_idtext - Identifier of location
- From date
from_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
- To date
to_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
Outputs
dataobject- Response.
Example output
{
"data": {
"dates": [],
"fromDate": "example",
"locationIds": [],
"timezone": "example",
"toDate": "example"
}
}List booking slots
List booking slots.
Inputs
- Location
location_idtextRequired - Identifier of location
- From date
from_datedate - Local date and time in YYYY-MM-DDThh:mm format
- To date
to_datedate - Local date and time in YYYY-MM-DDThh:mm format
- Resource IDs
resource_idslist - Resource identifiers
- Service IDs
service_idslist - Service identifiers
Outputs
datalist- Response.
Example output
{
"data": []
}List customers
List customers.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
- Location
location_idtext - Identifier of location
- External ID
external_idtext - External identifier, optionally provided by client
- From date
from_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
- To date
to_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}List first available slots
List first available slots.
Inputs
- Location
location_idtextRequired - Identifier of location
- From date
from_datedate - Local date and time in YYYY-MM-DDThh:mm format
- To date
to_datedate - Local date and time in YYYY-MM-DDThh:mm format
- Max num slots
max_num_slotsnumber - Max number of booking slots to returnFrom 1 to 150.
- Party size
party_sizenumber - Party sizeFrom 1 to 100.
- Resource IDs
resource_idslist - Resource identifiers
- Service IDs
service_idslist - Service identifiers
Outputs
datalist- Response.
Example output
{
"data": []
}List location statuses
List location statuses.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}List locations
List locations.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
- Country code
country_codetext - Country code
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}List messages
List messages.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
- Location
location_idtext - Identifier of location
- State
statetext - Current state of messageOne of:
PENDING,BLOCKED,FAILED,DELIVERED,UNCONFIRMED,RECEIVED. - Visit ID
visit_idtext - Identifier of visit
- Customer ID
customer_idtext - Identifier of customer, automatically derived from visitor contact information if not provided.
- From date
from_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
- To date
to_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}List resources
List resources.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
- Location
location_idlist - Location identifiers
- Q
qtext - Search query, prefix match on name or display name
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}List services
List services.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
- Location
location_idlist - Location identifiers
- Q
qtext - Search query, prefix match on name or display name
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}List visits
List visits.
Inputs
- Limit
limitnumber - Max number of resultsFrom 1 to 100.
- Start after
start_aftertext - Identifier(s) or value(s) to paginate results (comma-separated)
- Location
location_idtext - Identifier of location
- State
statetext - State of visitOne of:
PENDING,DRAFT,BOOKED,WAITING,SERVING,COMPLETE. - Service
service_idtext - Identifier of service
- Resource
resource_idtext - Identifier of resource
- From booking date
from_booking_datedate - Local date and time in YYYY-MM-DDThh:mm format
- To booking date
to_booking_datedate - Local date and time in YYYY-MM-DDThh:mm format
- From date
from_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
- To date
to_datedate and time - Date and time in ISO-8601 format or milliseconds from epoch
Outputs
dataobject- Response.
Example output
{
"data": {
"endAt": "example",
"limit": 1,
"results": [],
"startAt": "example"
}
}Update a customer
Update a customer.
Inputs
- Customer ID
customer_idtextRequired - Identifier of customer, automatically derived from visitor contact information if not provided.
- Name
nametext - Name to use.
- First name
first_nametext - First name to use.
- Last name
last_nametext - Last name to use.
- Phone
phonetext - Phone to use.
- Email
emailtext - Email to use.
- Notes
notestext - Notes to use.
- Tags
tagslist - Tags to use.One or more of:
NO-SHOW,CANCELLED,REMOVED,ALERTED,ARRIVED,DELAYED,CONFIRMED,EXPIRED,FLAGGED,IMPORTED, and 4 more. - Location IDs
location_idslist - Location IDs to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"created": "example",
"createdBy": "example",
"email": "example",
"externalId": "example",
"firstName": "example",
"id": "example",
"isAnonymized": false,
"lastName": "example",
"lastVisits": {},
"locationIds": [],
"metadata": {},
"name": "example",
"notes": "example",
"phone": "example",
"states": {},
"tags": [],
"updated": "example",
"updatedBy": "example"
}
}