Waitwhile

App · 20 actions

Manage Waitwhile visits and customers, find booking slots, and look up locations, services, and resources.

Actions

ActionWhat it does
Create a customerCreate a customer.
Delete a customerDelete a customer.
Get a customerGet a customer.
Get a locationGet a location.
Get a location statusGet a location status.
Get a messageGet a message.
Get a resourceGet a resource.
Get a serviceGet a service.
Get a visitGet a visit.
Get visit analytics by dateGet visit analytics by date.
List booking slotsList booking slots.
List customersList customers.
List first available slotsList first available slots.
List location statusesList location statuses.
List locationsList locations.
List messagesList messages.
List resourcesList resources.
List servicesList services.
List visitsList visits.
Update a customerUpdate a customer.

Create a customer

Create a customer.

Inputs

Namenametext
Name to use.
First namefirst_nametext
First name to use.
Last namelast_nametext
Last name to use.
Phonephonetext
Phone to use.
Emailemailtext
Email to use.
Notesnotestext
Notes to use.
Tagstagslist
Tags to use.One or more of: NO-SHOW, CANCELLED, REMOVED, ALERTED, ARRIVED, DELAYED, CONFIRMED, EXPIRED, FLAGGED, IMPORTED, and 4 more.
Location IDslocation_idslist
Location IDs to use.
External IDexternal_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 IDcustomer_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 IDcustomer_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 orshort_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

Locationlocation_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 IDmessage_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

Resourceresource_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

Serviceservice_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 IDvisit_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

Locationlocation_idtext
Identifier of location
From datefrom_datedate and time
Date and time in ISO-8601 format or milliseconds from epoch
To dateto_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

Locationlocation_idtextRequired
Identifier of location
From datefrom_datedate
Local date and time in YYYY-MM-DDThh:mm format
To dateto_datedate
Local date and time in YYYY-MM-DDThh:mm format
Resource IDsresource_idslist
Resource identifiers
Service IDsservice_idslist
Service identifiers

Outputs

datalist
Response.
Example output
{
  "data": []
}

List customers

List customers.

Inputs

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_aftertext
Identifier(s) or value(s) to paginate results (comma-separated)
Locationlocation_idtext
Identifier of location
External IDexternal_idtext
External identifier, optionally provided by client
From datefrom_datedate and time
Date and time in ISO-8601 format or milliseconds from epoch
To dateto_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

Locationlocation_idtextRequired
Identifier of location
From datefrom_datedate
Local date and time in YYYY-MM-DDThh:mm format
To dateto_datedate
Local date and time in YYYY-MM-DDThh:mm format
Max num slotsmax_num_slotsnumber
Max number of booking slots to returnFrom 1 to 150.
Party sizeparty_sizenumber
Party sizeFrom 1 to 100.
Resource IDsresource_idslist
Resource identifiers
Service IDsservice_idslist
Service identifiers

Outputs

datalist
Response.
Example output
{
  "data": []
}

List location statuses

List location statuses.

Inputs

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_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

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_aftertext
Identifier(s) or value(s) to paginate results (comma-separated)
Country codecountry_codetext
Country code

Outputs

dataobject
Response.
Example output
{
  "data": {
    "endAt": "example",
    "limit": 1,
    "results": [],
    "startAt": "example"
  }
}

List messages

List messages.

Inputs

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_aftertext
Identifier(s) or value(s) to paginate results (comma-separated)
Locationlocation_idtext
Identifier of location
Statestatetext
Current state of messageOne of: PENDING, BLOCKED, FAILED, DELIVERED, UNCONFIRMED, RECEIVED.
Visit IDvisit_idtext
Identifier of visit
Customer IDcustomer_idtext
Identifier of customer, automatically derived from visitor contact information if not provided.
From datefrom_datedate and time
Date and time in ISO-8601 format or milliseconds from epoch
To dateto_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

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_aftertext
Identifier(s) or value(s) to paginate results (comma-separated)
Locationlocation_idlist
Location identifiers
Qqtext
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

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_aftertext
Identifier(s) or value(s) to paginate results (comma-separated)
Locationlocation_idlist
Location identifiers
Qqtext
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

Limitlimitnumber
Max number of resultsFrom 1 to 100.
Start afterstart_aftertext
Identifier(s) or value(s) to paginate results (comma-separated)
Locationlocation_idtext
Identifier of location
Statestatetext
State of visitOne of: PENDING, DRAFT, BOOKED, WAITING, SERVING, COMPLETE.
Serviceservice_idtext
Identifier of service
Resourceresource_idtext
Identifier of resource
From booking datefrom_booking_datedate
Local date and time in YYYY-MM-DDThh:mm format
To booking dateto_booking_datedate
Local date and time in YYYY-MM-DDThh:mm format
From datefrom_datedate and time
Date and time in ISO-8601 format or milliseconds from epoch
To dateto_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 IDcustomer_idtextRequired
Identifier of customer, automatically derived from visitor contact information if not provided.
Namenametext
Name to use.
First namefirst_nametext
First name to use.
Last namelast_nametext
Last name to use.
Phonephonetext
Phone to use.
Emailemailtext
Email to use.
Notesnotestext
Notes to use.
Tagstagslist
Tags to use.One or more of: NO-SHOW, CANCELLED, REMOVED, ALERTED, ARRIVED, DELAYED, CONFIRMED, EXPIRED, FLAGGED, IMPORTED, and 4 more.
Location IDslocation_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"
  }
}

On this page