Discussions
List Visits API - Multiple state?
https://developers.waitwhile.com/reference/listvisits
Is it possible to have multiple state for query params?
Posted by Joey about 1 year ago
locationId is null
Hi,
I use the List Locations API (https://developers.waitwhile.com/reference/listlocations) and I noticed all the locationId is null. Am I missing something here?
Posted by Joey Clarin about 1 year ago
Select a service
I'm trying to find a way to increase the logo images when selecting a service. Can anyone help?
Posted by Aimee Soltys about 1 year ago
How can I find deleted visits?
How can I find deleted visits? Seems like the visit_id disappears when a booking gets cancelled..
Posted by Sebastian Sundet Flaen about 1 year ago
Retrieve Que Position?
Which webhook would I use to retrieve a customers position in a waitlist. I would like my app to update itself with your server on a weekly basis.
What identifiers are necessary to poll waitwhile? Location Id and Phone Number?
Best,
Cayce
Posted by Cayce about 1 year ago
Adding location to service
Hi!
I was looking through your API docs for ways to add locations to existing services.
I've ended up solving this by POST-ing to /v2/services/{serviceId} with the new locationIds. While this works, it requires you to fetch the existing locationIds so you can append new IDs to the list. And while it's unlikely for our use case, this could lead to concurrency issues.
Is there some other way of patching services that I'm not seeing? Can I assign locations to services when creating them, e.g. with assignToServices? I'm having some trouble figuring out what these query params do, and how to use them.
Thanks! :)
Posted by Thomas H. over 1 year ago
Metadata for Booking and Location objects
Metadata is a great improvement. Will it be added to booking and location objects?
additionally, Is there any page we can follow the roadmap and releases?
Thanks
Posted by Yasar Sazak over 1 year ago
Domain in photourl is not allowed
I try to update resource photourl with our own CDN url. But I receive "Domain in photourl is not allowed" error message. is it possible to add our own domain?
Posted by Yasar Sazak over 1 year ago
Webhooks
Can you setup webhooks for a specific waitwhile list? I know you can for Location. Or would you suggest creating a location for the list you want to integrate?
Posted by john girardin over 1 year ago
CORS error while making API call
How do I whitelist my domain so the waitwhile server would not respond back with CORS error?
Code:
apikey: '<>',
apiUrl: 'https://api.waitwhile.com/v2/customers',
axios.post(this.apiUrl, data, {
headers: headers
})
.then((response) => {
console.log('Response - ');
console.log(response);
})
.catch((error) => {
console.log('Response Error - ');
console.log(error);
})
Error:
Access to XMLHttpRequest at 'https://api.waitwhile.com/v2/customers' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Posted by Mathes Kanagarajan over 1 year ago