{"info":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","description":"<html><head></head><body><p>Latest update v1.2 at 2025-07-23</p>\n<p>Please let us know at <a href=\"https://mailto:hi@resos.com\">hi@resos.com</a> if you have questions or something you need is missing. We are extending the API as needed and per your request.</p>\n<h2 id=\"helper-libraries\">Helper libraries</h2>\n<p><a href=\"https://rubygems.org/gems/res_os_ruby\">API wrapper for Ruby</a> by <a href=\"https://rubygems.org/profiles/Tochman\">Tochman</a> (unofficial)</p>\n<h1 id=\"request-limiting\">Request limiting</h1>\n<p>All API requests are rate-limited. The current limit is 100 requests / sec, with a fixed-time reset (i.e. every minute as opposed to a minute from the first request).</p>\n<p>All API responses will include the following headers:</p>\n<blockquote>\n<p>Retry-After: Time in ms until reset </p>\n</blockquote>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Authentication to the resOS API is done using a private API key.</p>\n<p>API key authentication is done by providing one of your private API keys in the request. You can manage your private API keys from your account settings.</p>\n<h3 id=\"finding-your-api-key\">Finding your API key</h3>\n<p>First ensure that the API app is enabled for your restaurant. If not, you can enable it from sidebar -&gt; <strong>Apps</strong>. When it is enabled, head to your <strong>Settings</strong> page from the sidebar and find <strong>API credentials</strong> under the <strong>Apps</strong> category. On this page, you can view all your existing API keys and generate new ones. If none exist, simply click <strong>Generate key.</strong> The key that appears is your API key, and should be included in all requests / used for the Zapier connection.</p>\n<p>You can also delete old API keys if you wish. Please note that any deleted keys will be invalidated, which means they will not work anymore for API requests or the Zapier integration.</p>\n<p><strong>Remember to keep this secret! Anyone with this key can perform all actions on resOS for your restaurant data. If used for our API, do not include this in front-end / client-side code, handle it all back-end / server-side. If you suspect that your key has been leaked, stolen or otherwise not secret anymore, you can invalidate it by going to your API credentials settings and deleting it.</strong></p>\n<p>The API key must be provided as the <a href=\"http://en.wikipedia.org/wiki/Basic_access_authentication\">HTTP Basic Auth</a> username in all requests. No password should be provided. HTTP Basic Auth is performed by sending an Authorization header with value Basic base64(':').</p>\n<p>E.g. for a private key:</p>\n<blockquote>\n<p>aIcCpRKQqKPg9zVL0a7-RJt2_zx8jPq8jR20XWp_pZN </p>\n</blockquote>\n<p>the key is base64 encoded with a tailing \":\":</p>\n<blockquote>\n<p>base64('aIcCpRKQqKPg9zVL0a7-RJt2_zx8jPq8jR20XWp_pZN:') </p>\n</blockquote>\n<p>resulting in the value:</p>\n<blockquote>\n<p>YUljQ3BSS1FxS1BnOXpWTDBhNy1SSnQyX3p4OGpQcThqUjIwWFdwX3BaTjo= </p>\n</blockquote>\n<p>The complete header will be:</p>\n<blockquote>\n<p>Authorization: Basic YUljQ3BSS1FxS1BnOXpWTDBhNy1SSnQyX3p4OGpQcThqUjIwWFdwX3BaTjo= </p>\n</blockquote>\n<p>To test base64 encoding the following site can be used <a href=\"https://www.base64decode.org/\">www.base64decode.org</a></p>\n<p><strong>If testing via Postman:</strong></p>\n<p>Make sure your API key is not being base64 encoded twice. If you pass your API key via the requests' Authorization tab, the API key should be put as is. This is due to Postman automatically encoding it.</p>\n<h3 id=\"cors\">CORS</h3>\n<p>Requests to our API will fail from the frontend due to our <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS\">CORS</a> policy. This is done for security reasons - since requests to our API require an API key, requests from the frontend would need to have your API key embedded in the code of the page, making it trivial for anyone to read and make requests on your behalf.</p>\n<p>The proper way of calling the API from the frontend is to have a backend which relays the request and response, storing only your API key on the server backend.</p>\n<hr>\n<h1 id=\"making-requests\">Making requests</h1>\n<h2 id=\"https\">HTTPS</h2>\n<p>All requests must be made using HTTPS for security reasons. Any requests in HTTP will be rejected.</p>\n<h2 id=\"request-data\">Request data</h2>\n<p>As POST and PUT data we accept application/json content-type. The content-type must be defined in the HTTP header of requests.</p>\n<p>For GET requests query parameters are used e.g. for pagination.</p>\n<hr>\n<h2 id=\"response-data\">Response data</h2>\n<p>All responses will be in JSON.</p>\n<hr>\n<h2 id=\"pagination\">Pagination</h2>\n<p>Some list endpoints support pagination using skip and limit query variables, where skip defines the number or records to skip in the result and limit defined the number of records to return.</p>\n<p>By default skip is 0 and limit is 100. Maximum number of records returned is also 100 unless defined otherwise for a specific endpoint.</p>\n<p>E.g. to get 10 records at a time, getting records from 20 to 30:</p>\n<blockquote>\n<p>/bookings?skip=20&amp;limit=10 </p>\n</blockquote>\n<hr>\n<h1 id=\"errors\">Errors</h1>\n<p>We use conventional <a href=\"http://en.wikipedia.org/wiki/List_of_HTTP_status_codes\">HTTP response codes</a> to indicate success or failure of an API request.</p>\n<p>In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that resulted from the provided information, and codes in the 5xx range indicate an error at resOS.</p>\n<p>Besides the status code we include an error description as a text string in the response body.</p>\n<h2 id=\"http-status-codes\">HTTP Status Codes</h2>\n<p>Besides the status code and error text, a hint to the exact problem may be included in the response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status code</th>\n<th>Text</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>Request was OK</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request</td>\n<td>Illegal operation on a resource</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n<td>No valid authentication provided</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found</td>\n<td>The requested resource or referenced resources could not be found</td>\n</tr>\n<tr>\n<td>405</td>\n<td>Method Not Allowed</td>\n<td>The used HTTP method is not allowed on the resource</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity</td>\n<td>The request could not be interpreted, often missing a required parameter or wrongly formatted parameters</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too many requests</td>\n<td>Exceeded limit of requests in timeframe</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Server Error</td>\n<td>An internal error occurred, please contact <a href=\"https://mailto:hi@resos.com\">hi@resos.com</a> if the error persists</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"webhooks\">Webhooks</h1>\n<p>We are currently working on webhooks. If you have any specific requests, needs or use-cases you'd like to see implemented, please reach out to us at <a href=\"https://mailto:hi@resos.com\">hi@resos.com</a>.</p>\n<h1 id=\"sorting-results\">Sorting results</h1>\n<p>All endpoints that return a list can be sorted. This is done by passing a <code>sort</code> parameter.</p>\n<p>Sorting by ascending takes the value <code>1</code>. Descending, the value <code>-1</code>. All document fields can be used for sorting.</p>\n<p>E.g. sorting by date, ascending: <code>createdAt:1</code> or descending <code>createdAt:-1</code>.</p>\n<p>Multiple sorting parameters can be passed, with a comma as the delimiter. The results are sorted in priority with regards to the order in which the parameters are passed. E.g. <code>createdAt:1,updatedAt:-1</code>.</p>\n<h1 id=\"search-expressions\">Search expressions</h1>\n<p>Search expressions provide a powerful way to further refine the search results from the API. It supports filtering for any one or more fields as needed.</p>\n<p>All dates should be in UTC (Coordinated Universal Time).</p>\n<p>A search expression is passed as a header in the HTTP request. Each parameter is split by a comma.</p>\n<p>Search expressions support the following operators:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Name</th>\n<th>Description</th>\n<th>Supported types</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>&lt;</td>\n<td>Lesser than</td>\n<td>Values must be lesser than value passed</td>\n<td>Number, Date</td>\n</tr>\n<tr>\n<td>&gt;</td>\n<td>Greater than</td>\n<td>Values must be greater than value passed</td>\n<td>Number, Date</td>\n</tr>\n<tr>\n<td>:</td>\n<td>Equals</td>\n<td>Values must be equal to value passed</td>\n<td>String, Boolean, Date, Number</td>\n</tr>\n<tr>\n<td>;</td>\n<td>Contains</td>\n<td>Values must contain value passed</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>Examples:</p>\n<p>More than 2 people, approved status</p>\n<p><code>customQuery=people&gt;2,status:\"approved\"</code></p>\n<p>Earlier than date, source contains google</p>\n<p><code>customQuery=date&lt;\"2021-09-18\",source;\"google\"</code></p>\n<p>Any document fields are searchable in this manner.<br>Note - for phone numbers, the country code must be included as the first 2 digits. The + sign is not required. For example:<br><code>customQuery=guest.phone:\"4511111111\"</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Request limiting","slug":"request-limiting"},{"content":"Authentication","slug":"authentication"},{"content":"Making requests","slug":"making-requests"},{"content":"Errors","slug":"errors"},{"content":"Webhooks","slug":"webhooks"},{"content":"Sorting results","slug":"sorting-results"},{"content":"Search expressions","slug":"search-expressions"}],"owner":"3308304","collectionId":"938f6793-7f93-44c5-b082-c88924d28041","publishedId":"SzzehLGp","public":true,"customColor":{"top-bar":"2B233A","right-sidebar":"18151F","highlight":"3A8E5C"},"publishDate":"2020-06-18T08:19:36.000Z"},"item":[{"name":"Bookings","item":[{"name":"List bookings","id":"f81edf74-f406-46cf-9a75-646fab0e30ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/bookings?fromDateTime=2021-04-17&toDateTime=2021-04-18&limit=10&skip=1&sort=createdAt:1&customQuery=people>1,duration>60&onlyConfirmed=true/false","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookings"],"host":["api","resos","com"],"query":[{"description":{"content":"<p>ISO date format (ISO 8601) in UTC.</p>\n","type":"text/plain"},"key":"fromDateTime","value":"2021-04-17"},{"description":{"content":"<p>ISO date format (ISO 8601) in UTC.</p>\n","type":"text/plain"},"key":"toDateTime","value":"2021-04-18"},{"description":{"content":"<p>See \"Pagination\" documentation</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>See \"Pagination\" documentation</p>\n","type":"text/plain"},"key":"skip","value":"1"},{"description":{"content":"<p>Sort results by field. 1 ascending, -1 descending</p>\n","type":"text/plain"},"key":"sort","value":"createdAt:1"},{"description":{"content":"<p>See \"Search expression\" documentation</p>\n","type":"text/plain"},"key":"customQuery","value":"people>1,duration>60"},{"description":{"content":"<p>Return only confirmed bookings, i.e. status is not request, and if payment is enabled for it, the payment status is either settled or authorized.</p>\n","type":"text/plain"},"key":"onlyConfirmed","value":"true/false"}],"variable":[]}},"response":[{"id":"5a36bf94-1111-418c-958a-a4b97b9fd562","name":"List bookings","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.resos.com/v1/bookings?fromDateTime=2021-04-17&toDateTime=2021-04-18&limit=10&skip=1&sort=createdAt:1&customQuery=people>1,duration>60","protocol":"https","host":["api","resos","com"],"path":["v1","bookings"],"query":[{"key":"fromDateTime","value":"2021-04-17"},{"key":"toDateTime","value":"2021-04-18"},{"key":"limit","value":"10"},{"key":"skip","value":"1"},{"key":"sort","value":"createdAt:1"},{"key":"customQuery","value":"people>1,duration>60"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"retry-after","value":"60","description":"","type":"text"},{"key":"x-ratelimit-limit","value":"100","description":"","type":"text"},{"key":"x-ratelimit-remaining","value":"99","description":"","type":"text"},{"key":"x-ratelimit-reset","value":"Mon May 31 2021 14:36:25 GMT+0200 (Central European Summer Time)","description":"","type":"text"},{"key":"access-control-allow-headers","value":"Authorization,Content-Type","description":"","type":"text"},{"key":"content-type","value":"application/json","description":"","type":"text"},{"key":"vary","value":"Accept-Encoding","description":"","type":"text"},{"key":"content-encoding","value":"gzip","description":"","type":"text"},{"key":"date","value":"Mon, 31 May 2021 12:35:25 GMT","description":"","type":"text"},{"key":"connection","value":"keep-alive","description":"","type":"text"},{"key":"transfer-encoding","value":"chunked","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\r\n    { \r\n        \"_id\" : \"jTW8s9PvK2FMaQP3Y\", \r\n        \"restaurantId\" : \"gd2cZJZuP3SZPknAX\", \r\n        \"date\" : \"2021-02-25\", \r\n        \"time\" : \"11:45\", \r\n        \"people\" : 2, \r\n        \"guest\" : {\r\n            \"name\" : \"Morpheus\", \r\n            \"email\" : \"neo@resos.com\", \r\n            \"phone\" : \"+4500000000\", \r\n            \"notificationEmail\" : true, \r\n            \"notificationSms\" : false\r\n        }, \r\n        \"languageCode\" : \"en\", \r\n        \"status\" : \"approved\", \r\n        \"openingHourId\" : \"PXDCXmgg2XyfRC4AT\", \r\n        \"referrer\" : \"\", \r\n        \"source\" : \"website\", \r\n        \"dateTime\" : \"2021-02-25T10:45:00.000+0000\", \r\n        \"createdAt\" : \"2021-02-25T10:24:26.187+0000\", \r\n        \"activityAt\" : \"2021-02-25T10:24:26.187+0000\", \r\n        \"sendNotification\" : true, \r\n        \"seenByRestaurant\" : false, \r\n        \"restaurant\" : {\r\n            \"name\" : \"1 2\", \r\n            \"address\" : {\r\n                \"countryCode\" : \"DK\", \r\n                \"country\" : \"Denmark\", \r\n                \"address1\" : \"1\", \r\n                \"address2\" : \"1\", \r\n                \"city\" : \"11\", \r\n                \"postalCode\" : 2000\r\n            }, \r\n            \"slug\" : \"1-2-frederiksberg\", \r\n            \"email\" : \"neo@resos.com\", \r\n            \"phone\" : \"+4500000000\", \r\n            \"languageCode\" : \"en\"\r\n        }, \r\n        \"duration\" : 120, \r\n        \"endDateTime\" : \"2021-02-25T12:45:00.000+0000\", \r\n        \"tables\" : [\r\n            {\r\n                \"_id\" : \"spekLuDbQY6X3ZnS8\", \r\n                \"name\" : \"bord 2\", \r\n                \"seatsMin\" : 1, \r\n                \"seatsMax\" : 5, \r\n                \"area\" : {\r\n                    \"_id\" : \"gEwNJnuubXprz2i3B\", \r\n                    \"name\" : \"d\", \r\n                    \"internalNote\" : \"\", \r\n                    \"bookingPriority\" : 5\r\n                }\r\n            }\r\n        ]\r\n    }\r\n]"}],"_postman_id":"f81edf74-f406-46cf-9a75-646fab0e30ff"},{"name":"Get booking","id":"0d5405ff-86b6-4156-905a-53f426cf2e02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/bookings/{id}","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookings","{id}"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"07953efe-af30-4a3e-8a35-7ed8bb4b2cf2","name":"Get booking","originalRequest":{"method":"GET","header":[],"url":"https://api.resos.com/v1/bookings/sBaiAnt8QmFPahpjy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 18 Jun 2020 08:27:25 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"sBaiAnt8QmFPahpjy\",\n    \"date\": \"2020-06-02\",\n    \"time\": \"19:00\",\n    \"dateTime\": \"2020-06-02T17:00:00.000Z\",\n    \"people\": 2,\n    \"tables\": [\n        {\n            \"_id\": \"65LfSehi5M6auMhiA\",\n            \"name\": \"103\",\n            \"seatsMin\": 1,\n            \"seatsMax\": 3,\n            \"internalNote\": \"\",\n            \"area\": {\n                \"_id\": \"ALmEi4S8fbK3wchpH\",\n                \"name\": \"Restaurant\",\n                \"internalNote\": \"\"\n            }\n        }\n    ],\n    \"duration\": 105,\n    \"status\": \"canceled\",\n    \"source\": \"phone\",\n    \"languageCode\": \"en\",\n    \"endDateTime\": \"2020-06-02T18:45:00.000Z\",\n    \"internalId\": \"d87705e4-9d48-4954-8224-71e427238dc4\",\n    \"restaurantId\": \"ELxwGTxds3TjniePe\",\n    \"createdBy\": \"nKJnWZRHi6gDTa7Zf\",\n    \"createdAt\": \"2020-06-02T08:20:24.765Z\",\n    \"sendNotification\": true,\n    \"updatedAt\": \"2020-06-02T09:22:42.673Z\",\n    \"updatedBy\": \"nKJnWZRHi6gDTa7Zf\",\n    \"activityAt\": \"2020-06-10T11:52:02.684Z\",\n    \"guest\": {\n        \"name\": \"Bob\",\n        \"phone\": \"+\",\n        \"email\": \"\",\n        \"notificationSms\": false,\n        \"notificationEmail\": false\n    },\n    \"restaurant\": {\n        \"name\": \"Eatie Plus (Test)\",\n        \"address\": {\n            \"address1\": \"Strandlodsvej 44, 3.\",\n            \"address2\": \"\",\n            \"address3\": \"\",\n            \"city\": \"København S\",\n            \"postalCode\": 2300,\n            \"countryCode\": \"DK\",\n            \"country\": \"Denmark\"\n        },\n        \"email\": \"mlj@eatie.dk\",\n        \"phone\": \"+4591531400\",\n        \"slug\": \"eatie-plus-test-amager\"\n    }\n}"}],"_postman_id":"0d5405ff-86b6-4156-905a-53f426cf2e02"},{"name":"Create booking","id":"afd2438f-749e-4440-8b32-d4cdb3dd6925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"date\": \"2021-09-18\",\n    \"time\": \"21:00\",\n    \"people\": 4,\n    \"duration\": 120,\n    \"openingHourId\": \"jdjqueACWq\",\n    \"tables\": [\n        \"NJioneCC7BoWC6j5x\"\n    ],\n    \"areaId\": \"Fu7CzGKfmiRdvY79j\",\n    \"metadata\" : {\n        \"example metadata\": \"value\"\n        },\n    \"guest\": {\n        \"name\": \"Thomas A. Anderson\",\n        \"email\": \"neo@resos.com\",\n        \"phone\": \"+13115552368\",\n        \"notificationSms\": false,\n        \"notificationEmail\": true\n    },\n    \"status\": \"request\",\n    \"source\": \"website\",\n    \"comment\": \"This is a comment written by the guest regarding this booking, visible to both the guest and the restaurant\",\n    \"note\": \"This is an internal note regarding this booking only visible to the restaurant\",\n    \"noteAuthor\": \"Morpheus\",\n    \"referrer\": \"https://www.some-website.com\",\n    \"languageCode\": \"en\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings","description":"<p>Supports both passing tables by an array of IDs, and an area ID. If no available tables are found with the specified area, an error will be returned.</p>\n<p>You can also specify which opening hour the booking should belong to. If not specified, our system will automatically add it. In case of overlapping opening hours, it will attempt to find the best fitting one.</p>\n<p>Please note if you are adding bookings with the DateTime field, it must be in UTC format. If adding as separate date and time fields, these must be in the restaurants' local timezone.</p>\n<h4 id=\"waitlist\">Waitlist</h4>\n<p>Supports the waitlist feature, if enabled for the restaurant.<br />To use, set the <code>status</code> field in the booking object to <code>waitlist</code>. All other fields function as normal.</p>\n<h4 id=\"custom-fields\">Custom fields</h4>\n<p>Supports the custom fields feature, if enabled for the restaurant.</p>\n<p>To use, check the \"Create booking with custom fields\" example and the <a href=\"https://documenter.getpostman.com/view/3308304/SzzehLGp?version=latest#c08b5ef8-0b4c-4cee-a8e6-0817cbea1f45\">Custom Fields endpoint documentation</a></p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookings"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"f86c1bfd-c9f5-4034-b773-a913162e8a14","name":"Create booking","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"date\": \"2021-09-18\",\n    \"time\": \"21:00\",\n    \"people\": 4,\n    \"duration\": 120,\n    \"tables\": [\n        \"NJioneCC7BoWC6j5x\"\n    ],\n    \"guest\": {\n        \"name\": \"Thomas A. Anderson\",\n        \"email\": \"neo@resos.com\",\n        \"phone\": \"+13115552368\",\n        \"notificationSms\": false,\n        \"notificationEmail\": true\n    },\n    \"status\": \"request\",\n    \"source\": \"website\",\n    \"comment\": \"This is a comment written by the guest regarding this booking, visible to both the guest and the restaurant\",\n    \"note\": \"This is an internal note regarding this booking only visible to the restaurant\",\n    \"noteAuthor\": \"Morpheus\",\n    \"referrer\": \"https://www.some-website.com\",\n    \"languageCode\": \"en\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 18 Jun 2020 08:28:35 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"\"XKsyPGsbBwdmfGq3h\""},{"id":"d47a57a6-8083-4c8e-8029-ed8b84e68f10","name":"Create booking with custom fields","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"date\": \"2021-09-18\",\n    \"time\": \"21:00\",\n    \"people\": 4,\n    \"duration\": 120,\n    \"tables\": [\n        \"NJioneCC7BoWC6j5x\"\n    ],\n    \"customFields\": [\n        {\n            \"_id\": \"7A6MEXJXKvwKiHQQC\",\n            \"name\": \"Internal name multiple choice checkboxes\",\n            \"value\": [\n                {\n                    \"_id\": \"JEL35LoHBN7hosrhv\",\n                    \"name\": \"Option 1\",\n                    \"value\": true\n                },\n                {\n                    \"_id\": \"2Xo6qRgXcnxsfwWHr\",\n                    \"name\": \"Option 3\",\n                    \"value\": true\n                }\n            ],\n            \"label\": \"Label for multiple choice checkboxes\"\n        },\n        {\n            \"_id\": \"Bzeb7ErdBAJuLWZQ5\",\n            \"name\": \"Internal name single choice radio \",\n            \"value\": \"iSDmDNr56zHPMiueP\",\n            \"multipleChoiceValueName\": \"Radio 3\",\n            \"label\": \"Label single choice radio buttons\"\n        },\n        {\n            \"_id\": \"eGozPT7oKkds8Xgmo\",\n            \"name\": \"Internal name dropdown options\",\n            \"value\": \"hDTYK8rZwk2KPYSqA\",\n            \"multipleChoiceValueName\": \"Dropdown 2\",\n            \"label\": \"Label dropdown options\"\n        },\n        {\n            \"_id\": \"tqZhoWtva48cKPLkE\",\n            \"name\": \"Internal name text field\",\n            \"value\": \"Name value\",\n            \"label\": \"Label text field\"\n        },\n        {\n            \"_id\": \"wMWTRFQeZgdoDoKvX\",\n            \"name\": \"Internal name number field\",\n            \"value\": \"773\",\n            \"label\": \"Label number field\"\n        }\n    ],\n    \"guest\": {\n        \"name\": \"Thomas A. Anderson\",\n        \"email\": \"neo@resos.com\",\n        \"phone\": \"+13115552368\",\n        \"notificationSms\": false,\n        \"notificationEmail\": true\n    },\n    \"status\": \"request\",\n    \"source\": \"website\",\n    \"comment\": \"This is a comment written by the guest regarding this booking, visible to both the guest and the restaurant\",\n    \"note\": \"This is an internal note regarding this booking only visible to the restaurant\",\n    \"noteAuthor\": \"Morpheus\",\n    \"referrer\": \"https://www.some-website.com\",\n    \"languageCode\": \"en\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 18 Jun 2020 08:28:35 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"\"XKsyPGsbBwdmfGq3h\""}],"_postman_id":"afd2438f-749e-4440-8b32-d4cdb3dd6925"},{"name":"Update booking","event":[{"listen":"test","script":{"id":"c1bd6049-eb43-4844-bcb9-647c22d28dcc","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"0aef2f90-b61c-45f4-8f24-5ac07b5323eb","exec":[""],"type":"text/javascript","packages":{}}}],"id":"1ed4115a-ce6d-4782-8b0e-8550bfd6249a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dateTime\": \"2024-06-04 14:00\",\r\n    \"people\": 2,\r\n    \"duration\": 120,\r\n    \"guest\": {\r\n        \"name\": \"A. Anderson\",\r\n        \"email\": \"neo@resos.com\",\r\n        \"phone\": \"+000000000\"\r\n    },\r\n    \"metadata\":{\"metadata1\":1},\r\n    \"status\": \"approved\",\r\n    \"source\": \"website\",\r\n    \"referrer\": \"https://www.some-website.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings/{bookingId}","description":"<p>Updates a booking.</p>\n<p>Returns <code>true</code> / <code>false</code> depending on if the update operation was a success.</p>\n<p>When updating specific field(s), you only need to pass in the changed fields. E.g. a body of only:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \n    \"people\": 3, \n    \"date\": \"2024-06-10\" \n}\n\n</code></pre>\n<p>is valid.</p>\n<p>Fields you can update via the API:</p>\n<ul>\n<li><p><code>'date'</code>,</p>\n</li>\n<li><p><code>'time'</code>,</p>\n</li>\n<li><p><code>'dateTime'</code>,</p>\n</li>\n<li><p><code>'people'</code>,</p>\n</li>\n<li><p><code>'tables'</code>,</p>\n</li>\n<li><p><code>'duration'</code>,</p>\n</li>\n<li><p><code>'status'</code>,</p>\n</li>\n<li><p><code>'metadata'</code>,</p>\n</li>\n<li><p><code>'source'</code>,</p>\n</li>\n<li><p><code>'referrer'</code>,</p>\n</li>\n<li><p><code>'languageCode'</code>,</p>\n</li>\n<li><p><code>'openingHourId'</code>,</p>\n</li>\n<li><p><code>'canceledAt'</code>,</p>\n</li>\n<li><p><code>'deletedAt'</code>,</p>\n</li>\n<li><p><code>'declinedAt'</code>,</p>\n</li>\n<li><p><code>'openingHourName'</code>,</p>\n</li>\n<li><p><code>'customer'</code>,</p>\n</li>\n<li><p><code>'guest'</code>,</p>\n</li>\n<li><p><code>'customFields'</code>,</p>\n</li>\n</ul>\n<p>Please note that <code>date</code> and <code>time</code> should be passed in the local timezone (the restaurants' timezone), while <code>dateTime</code> should be passed as UTC. If passing <code>date</code> and/or <code>time</code>, a UTC <code>dateTime</code> will automatically be generated, while if passing <code>dateTime</code> a local-timezone <code>date</code> and <code>time</code> will automatically be generated.</p>\n<p>Not recommended to pass both <code>dateTime</code> and <code>date</code> / <code>time</code>.</p>\n","urlObject":{"protocol":"https","path":["v1","bookings","{bookingId}"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"f9982901-ddd6-45b8-b9aa-e4babaa51cdb","name":"Update booking","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dateTime\": \"2024-06-04 14:00\",\r\n    \"people\": 2,\r\n    \"duration\": 120,\r\n    \"guest\": {\r\n        \"name\": \"A. Anderson\",\r\n        \"email\": \"neo@resos.com\",\r\n        \"phone\": \"+000000000\"\r\n    },\r\n    \"metadata\":{\"metadata1\":1},\r\n    \"status\": \"approved\",\r\n    \"source\": \"website\",\r\n    \"referrer\": \"https://www.some-website.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings/{bookingId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"retry-after","value":"60"},{"key":"x-ratelimit-limit","value":"100"},{"key":"x-ratelimit-remaining","value":"99"},{"key":"x-ratelimit-reset","value":"Mon Jun 10 2024 10:49:57 GMT+0000 (Coordinated Universal Time)"},{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 10 Jun 2024 10:48:57 GMT"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"1ed4115a-ce6d-4782-8b0e-8550bfd6249a"},{"name":"Add note to booking","id":"71b2bea2-bd5b-4280-b91f-d09031f93fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"POST test to booking note\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings/{id}/restaurantNote","description":"<p>Add a note to an existing booking. A note is only visible to the restaurant and not the customer.</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookings","{id}","restaurantNote"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"f3cea8a8-4a4b-44f0-86ca-8694d7782db4","name":"Add note to booking","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"POST test to booking note\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings/KxrwFiQ3LN9ejfBfQ/restaurantNote"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"retry-after","value":"60"},{"key":"x-ratelimit-limit","value":"100"},{"key":"x-ratelimit-remaining","value":"99"},{"key":"x-ratelimit-reset","value":"Mon May 31 2021 14:19:05 GMT+0200 (Central European Summer Time)"},{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 31 May 2021 12:18:05 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"\"ySqjBqwzievcshAZ7\""}],"_postman_id":"71b2bea2-bd5b-4280-b91f-d09031f93fb6"},{"name":"Add comment to booking","id":"dc99581c-e5f4-4c89-a44e-677d1acb4364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"POST test to booking comment\",\r\n    \"role\": \"restaurant\",\r\n    \"sendNotification\" : false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings/{id}/comment","description":"<p>Add a comment to an existing booking. Comments are visible for both the restaurant and the customer.</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookings","{id}","comment"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"a40dfc65-08cd-4279-b533-0ea828a8d377","name":"Add comment to booking","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"POST test to booking comment\",\r\n    \"role\": \"restaurant\",\r\n    \"sendNotification\" : false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/bookings/KxrwFiQ3LN9ejfBfQ/comment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"retry-after","value":"60"},{"key":"x-ratelimit-limit","value":"100"},{"key":"x-ratelimit-remaining","value":"99"},{"key":"x-ratelimit-reset","value":"Mon May 31 2021 14:36:25 GMT+0200 (Central European Summer Time)"},{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 31 May 2021 12:35:25 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"\"Thbzj6wLwBCemETnH\""}],"_postman_id":"dc99581c-e5f4-4c89-a44e-677d1acb4364"}],"id":"3310b51d-9700-4c37-bf52-6978e5ce733b","description":"<h1 id=\"the-booking-object\">The booking object</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n<th>Example</th>\n<th>Required</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>\"2021-09-18\"</td>\n<td>Required</td>\n<td>YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>time</td>\n<td>String</td>\n<td>\"21:00\"</td>\n<td>Required</td>\n<td>HH:mm</td>\n</tr>\n<tr>\n<td>people</td>\n<td>Integer</td>\n<td>4</td>\n<td>Required</td>\n<td>Amount of people assigned for booking.</td>\n</tr>\n<tr>\n<td>duration</td>\n<td>Integer</td>\n<td>120</td>\n<td>Required</td>\n<td>In minutes</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>\"request\"</td>\n<td>Optional</td>\n<td>One of: \"request\", \"declined\", \"approved\", \"arrived\", \"seated\", \"left\", \"no_show\", \"canceled\", \"waitlist\". Default: \"request\".</td>\n</tr>\n<tr>\n<td>tables</td>\n<td>Array</td>\n<td></td>\n<td>Optional</td>\n<td>Contains an array of IDs of the tables allocated for the booking.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Object</td>\n<td>{\"key\": \"value\"}</td>\n<td>Optional</td>\n<td>Contains any arbitrary metadata. Max length is 2000 characters.</td>\n</tr>\n<tr>\n<td>comments</td>\n<td>Array</td>\n<td></td>\n<td>Optional</td>\n<td>Contains all comments made on the booking.</td>\n</tr>\n<tr>\n<td>guest</td>\n<td>Object</td>\n<td></td>\n<td>Required</td>\n<td>Object with customer data (listed below)</td>\n</tr>\n<tr>\n<td>guest.name</td>\n<td>String</td>\n<td>\"Thomas A. Anderson\"</td>\n<td>Required</td>\n<td></td>\n</tr>\n<tr>\n<td>guest.email</td>\n<td>String</td>\n<td>\"<a href=\"mailto:neo@resos.com\">neo@resos.com</a>\"</td>\n<td>Optional</td>\n<td></td>\n</tr>\n<tr>\n<td>guest.phone</td>\n<td>String</td>\n<td>\"+13115552368\"</td>\n<td>Optional</td>\n<td>Including countrycode with \"+\" prefix and then numbers only</td>\n</tr>\n<tr>\n<td>guest.notificationSms</td>\n<td>Boolean</td>\n<td>false</td>\n<td>Optional</td>\n<td>True if customer should get booking confirmation and updates via SMS text messsages on the phone number defined above. Default: false.</td>\n</tr>\n<tr>\n<td>guest.notificationEmail</td>\n<td>Boolean</td>\n<td>false</td>\n<td>Optional</td>\n<td>True if customer should get booking confirmation and updates via E-mail on the e-mail address defined above. Default: false.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>String</td>\n<td>\"website\"</td>\n<td>Optional</td>\n<td>One of: \"api\", \"email\", \"facebook\", \"google\", \"import\", \"instagram\", \"message\", \"other\", \"phone\", \"walkin\",  <br />\"website\". Default: \"other\"</td>\n</tr>\n<tr>\n<td>openingHourId</td>\n<td>String</td>\n<td></td>\n<td>Required</td>\n<td>ID of the opening hour the booking is set for.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>DateTime</td>\n<td>\"2021-02-25T11:54:09.823+0000\"</td>\n<td>Required</td>\n<td>Time and date the booking was created at.</td>\n</tr>\n<tr>\n<td>activityAt</td>\n<td>DateTime</td>\n<td>\"2021-02-25T11:54:09.823+0000\"</td>\n<td>Required</td>\n<td>Time and date the booking was last updated at.</td>\n</tr>\n<tr>\n<td>sendNotification</td>\n<td>Boolean</td>\n<td>True</td>\n<td>Required</td>\n<td>If this booking should raise a notification for the restaurant.</td>\n</tr>\n<tr>\n<td>payment</td>\n<td>Object</td>\n<td></td>\n<td>Optional</td>\n<td>Contains payment information if the booking has prepayment or no-show fee enabled.</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>String</td>\n<td>\"No peanuts, thanks\"</td>\n<td>Optional</td>\n<td>Comment written by guest. Visible to both the guest and the restaurant.</td>\n</tr>\n<tr>\n<td>note</td>\n<td>String</td>\n<td>\"Remember not peanuts!\"</td>\n<td>Optional</td>\n<td>Internal note only visible to the restaurant.</td>\n</tr>\n<tr>\n<td>noteAuthor</td>\n<td>String</td>\n<td>\"Morpheus\"</td>\n<td>Optional</td>\n<td>Name of the author of the internal note. Default: \"API\"</td>\n</tr>\n<tr>\n<td>referrer</td>\n<td>String</td>\n<td>\"example.com\"</td>\n<td>Optional</td>\n<td>URL of website that referred the booking</td>\n</tr>\n<tr>\n<td>languageCode</td>\n<td>String</td>\n<td>\"en\"</td>\n<td>Optional</td>\n<td>Language code that booking notification, booking status page etc. sent to the guest should be in. One of: \"en\", \"es\", \"de\", \"da\", \"sv\". Default: \"en\".</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"waitlist\">Waitlist</h3>\n<p>Creating and updating bookins support the <strong>waitlist</strong> feature, if enabled under apps. To use when creating a booking, simply set the the <code>status</code> field to <code>waitlist</code>. Likewise, for updating bookings, the status can be set accordingly, both to and from <code>waitlist</code>.</p>\n<p>To update a waitlist booking to an approved one, the status should be updated to <code>approved</code>.</p>\n","_postman_id":"3310b51d-9700-4c37-bf52-6978e5ce733b","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Booking flow","item":[{"name":"Available dates","id":"3d30dc9e-2e4a-4939-b6fa-a9a932fd4f08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/bookingFlow/dates","description":"<p>Returns an array of available dates in the provided date-range. Only takes in account if an opening hour exists, day is not closed etc., - not if the day is fully booked.</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookingFlow","dates"],"host":["api","resos","com"],"query":[{"disabled":true,"description":{"content":"<p>Date in YYYY-MM-DD format. Start date of returned available dates (inclusive)</p>\n","type":"text/plain"},"key":"fromDate","value":null},{"disabled":true,"description":{"content":"<p>Date in YYYY-MM-DD format. End date of returned available dates (inclusive)</p>\n","type":"text/plain"},"key":"toDate","value":null}],"variable":[]}},"response":[{"id":"1d17c96f-1f1f-4072-a2ad-531049fe9a37","name":"Get available dates","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.resos.com/v1/bookingFlow/dates?fromDate=2022-11-12&toDate=2022-11-20","protocol":"https","host":["api","resos","com"],"path":["v1","bookingFlow","dates"],"query":[{"key":"fromDate","value":"2022-11-12","description":"Date in YYYY-MM-DD format. Start date of returned available dates (inclusive)"},{"key":"toDate","value":"2022-11-20","description":"Date in YYYY-MM-DD format. End date of returned available dates (inclusive)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    \"2022-11-12\",\n    \"2022-11-13\",\n    \"2022-11-14\",\n    \"2022-11-15\",\n    \"2022-11-16\",\n    \"2022-11-17\",\n    \"2022-11-18\",\n    \"2022-11-19\"\n]"}],"_postman_id":"3d30dc9e-2e4a-4939-b6fa-a9a932fd4f08"},{"name":"Available times at date","id":"da7b1ff8-3df0-4fa5-b6a6-dfb14bd18eec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/bookingFlow/times","description":"<p>Returns an array of opening hour objects, each with an array inside of available times. These are bookable time intervals.</p>\n<p>If activated, available waitlist times are included as well as custom fields for the specific opening hour.</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookingFlow","times"],"host":["api","resos","com"],"query":[{"disabled":true,"description":{"content":"<p>Party size to check for</p>\n","type":"text/plain"},"key":"people","value":""},{"disabled":true,"description":{"content":"<p>Specified date, in YYYY-MM-DD format.</p>\n","type":"text/plain"},"key":"date","value":""},{"disabled":true,"description":{"content":"<p>(optional) Specific area ID to check in</p>\n","type":"text/plain"},"key":"areaId","value":""},{"disabled":true,"description":{"content":"<p>(optional) If true, only return times which are bookable online. If false, return all. Default: true</p>\n","type":"text/plain"},"key":"onlyBookableOnline","value":null}],"variable":[]}},"response":[{"id":"2b818fda-9b56-41d0-b896-fb24057ef3d9","name":"Get available times at date","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.resos.com/v1/bookingFlow/times?date=2022-11-20&people=3","protocol":"https","host":["api","resos","com"],"path":["v1","bookingFlow","times"],"query":[{"key":"date","value":"2022-11-20"},{"key":"people","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"GTbgqpfADEW34HnJj\",\n        \"name\": \"\",\n        \"note\": \"\",\n        \"payment\": {\n            \"active\": false\n        },\n        \"availableTimes\": [\n            \"10:00\",\n            \"10:15\",\n            \"10:30\",\n            \"10:45\",\n            \"11:00\"\n        ],\n        \"unavailableTimes\": [],\n        \"waitlistTimes\": [],\n        \"useWaitlist\": true,\n        \"activeCustomFields\": [\n            {\n                \"_id\": \"A9AL6pgqN2pS7H3oQ\",\n                \"name\": \"Text\",\n                \"type\": \"string\",\n                \"isRequired\": false,\n                \"defaultOnAllOpeningHours\": true,\n                \"showAsBadge\": true,\n                \"restaurantId\": \"MuxTyr9eco87Tkwut\",\n                \"createdAt\": \"2022-10-17T11:45:19.950Z\",\n                \"activeFlows\": [\n                    \"booking\"\n                ],\n                \"createdBy\": \"33P5EPKycx5tTkTLz\",\n                \"badgeColor\": \"red\",\n                \"label\": \"Text label\",\n                \"helptext\": \"Text helptext\",\n                \"sortIndex\": 0,\n                \"updatedAt\": \"2022-11-02T11:14:51.797Z\",\n                \"updatedBy\": \"33P5EPKycx5tTkTLz\"\n            }\n        ]\n    },\n    {\n        \"_id\": \"bFaFADoBjii8rahc3\",\n        \"name\": \"\",\n        \"note\": \"\",\n        \"payment\": {\n            \"active\": false\n        },\n        \"availableTimes\": [\n            \"20:00\",\n            \"20:15\",\n            \"20:30\",\n            \"20:45\",\n            \"21:00\",\n            \"21:15\",\n            \"21:30\",\n            \"21:45\",\n            \"22:00\",\n            \"22:15\",\n            \"22:30\",\n            \"22:45\",\n            \"23:00\"\n        ],\n        \"unavailableTimes\": [],\n        \"waitlistTimes\": [],\n        \"useWaitlist\": true,\n        \"activeCustomFields\": [\n            {\n                \"_id\": \"pWpbQst7rdHw4BYd5\",\n                \"name\": \"Radio\",\n                \"type\": \"radio\",\n                \"isRequired\": false,\n                \"defaultOnAllOpeningHours\": true,\n                \"showAsBadge\": true,\n                \"restaurantId\": \"MuxTyr9eco87Tkwut\",\n                \"createdAt\": \"2022-10-17T11:46:35.166Z\",\n                \"activeFlows\": [\n                    \"booking\"\n                ],\n                \"createdBy\": \"33P5EPKycx5tTkTLz\",\n                \"badgeColor\": \"turquoise\",\n                \"label\": \"Radio label\",\n                \"helptext\": \"Radio helptext\",\n                \"multipleChoiceSelections\": [\n                    {\n                        \"_id\": \"aauPgKhJxG6GCCEQK\",\n                        \"name\": \"Option 1\"\n                    },\n                    {\n                        \"_id\": \"qsFxnX3t75iaYNo2s\",\n                        \"name\": \"Option 2\"\n                    },\n                    {\n                        \"_id\": \"efkcxMnKNcWSXwuQo\",\n                        \"name\": \"Option 3\"\n                    }\n                ],\n                \"sortIndex\": 2,\n                \"updatedAt\": \"2022-11-02T11:14:57.691Z\",\n                \"updatedBy\": \"33P5EPKycx5tTkTLz\"\n            }\n        ]\n    }\n]"}],"_postman_id":"da7b1ff8-3df0-4fa5-b6a6-dfb14bd18eec"},{"name":"Available tables at time","id":"931b3f71-46c4-4c48-a46e-ac50720ff974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/bookingFlow/availableTables","description":"<p>Returns an array of tables that are available in a given timeframe, for a specific party size.</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","bookingFlow","availableTables"],"host":["api","resos","com"],"query":[{"disabled":true,"description":{"content":"<p>Party size to check for</p>\n","type":"text/plain"},"key":"people","value":""},{"disabled":true,"description":{"content":"<p>Specificed start dateTime, in YYYY-MM-DDTHH:mm:ss format</p>\n","type":"text/plain"},"key":"fromDateTime","value":""},{"disabled":true,"description":{"content":"<p>Specificed end dateTime, in YYYY-MM-DDTHH:mm:ss format</p>\n","type":"text/plain"},"key":"toDateTime","value":""},{"disabled":true,"description":{"content":"<p>(Optional) Only return tables which are bookable online</p>\n","type":"text/plain"},"key":"onlyBookableOnline","value":""},{"disabled":true,"description":{"content":"<p>(Optional) Return all tables, even if they are not available</p>\n","type":"text/plain"},"key":"returnAllTables","value":""},{"disabled":true,"description":{"content":"<p>(Optional) Specific area ID to check in</p>\n","type":"text/plain"},"key":"areaId","value":""},{"disabled":true,"description":{"content":"<p>(Optional) Exclude a specific booking when determining availability</p>\n","type":"text/plain"},"key":"excludeBookingId","value":""}],"variable":[]}},"response":[{"id":"4fb0ac78-0c20-4397-a3ae-ccba87d6a268","name":"Get available tables at time","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.resos.com/v1/bookingFlow/availableTables?people=2&fromDateTime=2025-05-12T08:00:00.000Z&toDateTime=2025-05-12T18:00:00.000Z&onlyBookableOnline=false&returnAllTables=true&areaId=so2fPrmjJZML6mSP8","protocol":"https","host":["api","resos","com"],"path":["v1","bookingFlow","availableTables"],"query":[{"key":"people","value":"2"},{"key":"fromDateTime","value":"2025-05-12T08:00:00.000Z"},{"key":"toDateTime","value":"2025-05-12T18:00:00.000Z"},{"key":"onlyBookableOnline","value":"false"},{"key":"returnAllTables","value":"true"},{"key":"areaId","value":"so2fPrmjJZML6mSP8"},{"key":"excludeBookingId","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"be69DFLSSBk9ji466\",\n        \"name\": \"101\",\n        \"seatsMin\": 1,\n        \"seatsMax\": 2,\n        \"bookable\": true,\n        \"bookableOnline\": true,\n        \"bookingPriority\": 5,\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"createdAt\": \"2025-05-05T06:40:58.893Z\",\n        \"type\": \"single\",\n        \"area\": {\n            \"_id\": \"so2fPrmjJZML6mSP8\",\n            \"name\": \"Restaurant\",\n            \"bookingPriority\": 5\n        },\n        \"booked\": false\n    },\n    {\n        \"_id\": \"3xoCMWoR7CPB4B5r7\",\n        \"name\": \"102\",\n        \"seatsMin\": 1,\n        \"seatsMax\": 2,\n        \"bookable\": true,\n        \"bookableOnline\": true,\n        \"bookingPriority\": 5,\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"createdAt\": \"2025-05-05T06:40:58.899Z\",\n        \"type\": \"single\",\n        \"area\": {\n            \"_id\": \"so2fPrmjJZML6mSP8\",\n            \"name\": \"Restaurant\",\n            \"bookingPriority\": 5\n        },\n        \"booked\": false\n    },\n    {\n        \"_id\": \"iKYGXFcy2q3Rj4WWK\",\n        \"name\": \"103\",\n        \"seatsMin\": 1,\n        \"seatsMax\": 2,\n        \"bookable\": true,\n        \"bookableOnline\": true,\n        \"bookingPriority\": 5,\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"createdAt\": \"2025-05-05T06:40:58.906Z\",\n        \"type\": \"single\",\n        \"area\": {\n            \"_id\": \"so2fPrmjJZML6mSP8\",\n            \"name\": \"Restaurant\",\n            \"bookingPriority\": 5\n        },\n        \"booked\": false\n    },\n    {\n        \"_id\": \"iwHNXScELGaWbdC9Q\",\n        \"name\": \"104\",\n        \"seatsMin\": 1,\n        \"seatsMax\": 2,\n        \"bookable\": true,\n        \"bookableOnline\": true,\n        \"bookingPriority\": 5,\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"createdAt\": \"2025-05-05T06:40:58.912Z\",\n        \"type\": \"single\",\n        \"area\": {\n            \"_id\": \"so2fPrmjJZML6mSP8\",\n            \"name\": \"Restaurant\",\n            \"bookingPriority\": 5\n        },\n        \"booked\": false\n    },\n    {\n        \"_id\": \"WXQtfGRSTx3Xk9Hww\",\n        \"name\": \"105\",\n        \"seatsMin\": 1,\n        \"seatsMax\": 2,\n        \"bookable\": true,\n        \"bookableOnline\": true,\n        \"bookingPriority\": 5,\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"createdAt\": \"2025-05-05T06:40:58.917Z\",\n        \"type\": \"single\",\n        \"area\": {\n            \"_id\": \"so2fPrmjJZML6mSP8\",\n            \"name\": \"Restaurant\",\n            \"bookingPriority\": 5\n        },\n        \"booked\": false\n    }\n]"}],"_postman_id":"931b3f71-46c4-4c48-a46e-ac50720ff974"}],"id":"4156bc4d-3f5b-4b19-92a0-d05b1abdd7e2","description":"<p>Related to the booking flow itself, e.g. times available for online booking on a given date.</p>\n","_postman_id":"4156bc4d-3f5b-4b19-92a0-d05b1abdd7e2","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Tables","item":[{"name":"List tables","id":"d9688d75-ef42-4100-a599-10ee6e505a84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.resos.com/v1/tables","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","tables"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"7f98cf13-3a73-4c29-afb8-2ad38e7fc053","name":"List tables","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.resos.com/v1/tables"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Authorization,Content-Type"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 30 Jun 2020 10:20:08 GMT"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"1130"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"NJFLH6yYhfra56SX8\",\n        \"name\": \"Inside\",\n        \"bookable\": true,\n        \"bookableOnline\": true,\n        \"bookingPriority\": 5,\n        \"internalNote\": \"\",\n        \"restaurantId\": \"ELxwGTxds3TjniePe\",\n        \"createdBy\": \"jizpP7RgcLg8KvWSH\",\n        \"createdAt\": \"2019-10-23T11:10:19.603Z\",\n        \"tables\": [\n            {\n                \"_id\": \"vpvozvYpbrCxfMn5y\",\n                \"name\": \"Bord 1\",\n                \"seatsMin\": 2,\n                \"seatsMax\": 4,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"combineableWith\": [],\n                \"internalNote\": \"\",\n                \"createdBy\": \"jizpP7RgcLg8KvWSH\",\n                \"createdAt\": \"2019-10-23T11:10:30.032Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"qtACJA63AWj6bJqLX\",\n                \"name\": \"101\",\n                \"seatsMin\": 2,\n                \"seatsMax\": 4,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"combineableWith\": [],\n                \"internalNote\": \"\",\n                \"createdBy\": \"jizpP7RgcLg8KvWSH\",\n                \"createdAt\": \"2019-10-23T11:10:45.436Z\",\n                \"updatedAt\": \"2020-06-30T10:16:06.538Z\",\n                \"updatedBy\": \"62bt4wijwWsxfNirD\"\n            },\n            {\n                \"_id\": \"vAgMzsz3pDbTMY8H8\",\n                \"name\": \"Copy of Bord 1\",\n                \"seatsMin\": 2,\n                \"seatsMax\": 4,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"jizpP7RgcLg8KvWSH\",\n                \"createdAt\": \"2019-10-24T09:11:21.495Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"fG9yuQ8A2Hg72FLWt\",\n                \"name\": \"102\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"jizpP7RgcLg8KvWSH\",\n                \"createdAt\": \"2019-10-23T11:10:47.303Z\",\n                \"combineableWith\": [],\n                \"updatedAt\": \"2020-06-30T10:16:11.036Z\",\n                \"updatedBy\": \"62bt4wijwWsxfNirD\"\n            },\n            {\n                \"_id\": \"96Tw2WRr6yiyeMc69\",\n                \"name\": \"103\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 10,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-10-28T07:07:38.683Z\",\n                \"combineableWith\": [],\n                \"updatedAt\": \"2020-06-30T10:16:34.874Z\",\n                \"updatedBy\": \"62bt4wijwWsxfNirD\"\n            },\n            {\n                \"_id\": \"J4sdmSGgzCZ9ysM4g\",\n                \"name\": \"104\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 10,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2020-06-30T10:17:27.379Z\"\n            },\n            {\n                \"_id\": \"q7sPXhcPi8EwQeTNE\",\n                \"name\": \"105\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 10,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2020-06-30T10:17:28.242Z\"\n            },\n            {\n                \"_id\": \"wgvpjJq5Kqxrz2TH2\",\n                \"name\": \"Bord 4\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:42:50.272Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"TtzTKTCm7Hzj6ACpf\",\n                \"name\": \"Bord 5\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:42:51.440Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"cAuKd2Hz4KNAFdzka\",\n                \"name\": \"Bord 6\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:42:52.237Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"2Q2W3BkXfgv76Xw3T\",\n                \"name\": \"Bord 7\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:42:56.205Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"7HdAzsr5FnQHZnsLP\",\n                \"name\": \"Bord 8\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:42:57.460Z\",\n                \"deleted\": true\n            },\n            {\n                \"_id\": \"EtTNcQR8ekd5ZivyA\",\n                \"name\": \"Bord 9\",\n                \"seatsMin\": 5,\n                \"seatsMax\": 10,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"jizpP7RgcLg8KvWSH\",\n                \"createdAt\": \"2020-02-11T13:18:14.800Z\",\n                \"deleted\": true\n            }\n        ],\n        \"updatedAt\": \"2020-06-30T10:20:04.878Z\",\n        \"updatedBy\": \"62bt4wijwWsxfNirD\",\n        \"combinations\": [\n            {\n                \"_id\": \"Lzgk77F2bKmJMJbWX\",\n                \"name\": \"103 + 104 + 105\",\n                \"tables\": [\n                    {\n                        \"_id\": \"96Tw2WRr6yiyeMc69\",\n                        \"name\": \"103\",\n                        \"seatsMin\": 1,\n                        \"seatsMax\": 2\n                    },\n                    {\n                        \"_id\": \"J4sdmSGgzCZ9ysM4g\",\n                        \"name\": \"104\",\n                        \"seatsMin\": 1,\n                        \"seatsMax\": 2\n                    },\n                    {\n                        \"_id\": \"q7sPXhcPi8EwQeTNE\",\n                        \"name\": \"105\",\n                        \"seatsMin\": 1,\n                        \"seatsMax\": 2\n                    }\n                ],\n                \"seatsMin\": 3,\n                \"seatsMax\": 6,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2020-06-30T10:19:54.948Z\"\n            },\n            {\n                \"_id\": \"kdkneQwmENYjvSmFq\",\n                \"name\": \"101 + 102\",\n                \"tables\": [\n                    {\n                        \"_id\": \"qtACJA63AWj6bJqLX\",\n                        \"name\": \"101\",\n                        \"seatsMin\": 2,\n                        \"seatsMax\": 4\n                    },\n                    {\n                        \"_id\": \"fG9yuQ8A2Hg72FLWt\",\n                        \"name\": \"102\",\n                        \"seatsMin\": 5,\n                        \"seatsMax\": 10\n                    }\n                ],\n                \"seatsMin\": 7,\n                \"seatsMax\": 14,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2020-06-30T10:20:04.878Z\"\n            }\n        ]\n    },\n    {\n        \"_id\": \"c862xuD3LBxso2k9Q\",\n        \"name\": \"Outside\",\n        \"bookable\": true,\n        \"bookableOnline\": false,\n        \"bookingPriority\": 5,\n        \"internalNote\": \"Only book if the weather forecast looks good. Can not be booked online.\",\n        \"restaurantId\": \"ELxwGTxds3TjniePe\",\n        \"createdBy\": \"62bt4wijwWsxfNirD\",\n        \"createdAt\": \"2019-11-19T12:43:12.309Z\",\n        \"tables\": [\n            {\n                \"_id\": \"momeLkQz6CWSjwTAx\",\n                \"name\": \"201\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": false,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"Only if everything else is full\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:43:17.348Z\",\n                \"updatedAt\": \"2020-06-30T10:17:07.388Z\",\n                \"updatedBy\": \"62bt4wijwWsxfNirD\"\n            },\n            {\n                \"_id\": \"4uGN6hkhBktJDXrAb\",\n                \"name\": \"202\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:43:18.929Z\"\n            },\n            {\n                \"_id\": \"P78CPkk9wFuQ7jJvH\",\n                \"name\": \"203\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:43:20.541Z\"\n            },\n            {\n                \"_id\": \"EFKpxYLsfecT5Gt4A\",\n                \"name\": \"204\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:43:21.401Z\"\n            },\n            {\n                \"_id\": \"H2sJxiABtCLFTfYob\",\n                \"name\": \"205\",\n                \"seatsMin\": 1,\n                \"seatsMax\": 2,\n                \"bookable\": true,\n                \"bookableOnline\": true,\n                \"bookingPriority\": 5,\n                \"internalNote\": \"\",\n                \"createdBy\": \"62bt4wijwWsxfNirD\",\n                \"createdAt\": \"2019-11-19T12:43:22.652Z\"\n            }\n        ],\n        \"updatedAt\": \"2020-06-30T10:18:17.108Z\",\n        \"updatedBy\": \"62bt4wijwWsxfNirD\"\n    }\n]"}],"_postman_id":"d9688d75-ef42-4100-a599-10ee6e505a84"}],"id":"16bb4165-ec0b-4b42-bc5e-46af4b5f13f4","description":"<p>Each document represents an area. Each area can have multiple tables and table combinations.</p>\n","event":[{"listen":"prerequest","script":{"id":"1c2f8eea-2940-4490-9cf2-da69236ab982","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"56615df0-b96f-4f09-bee9-1efab5a7e6f9","type":"text/javascript","exec":[""]}}],"_postman_id":"16bb4165-ec0b-4b42-bc5e-46af4b5f13f4","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Opening hours","item":[{"name":"List opening hours","event":[{"listen":"test","script":{"id":"52c06eb6-f4aa-44cb-87d7-ad03c0d0041f","exec":["pm.test(\"Status code is 200 and rate-limit header included\", function () {\r","    pm.response.to.have.status(200),\r","    pm.response.to.have.header('retry-after');\r","});\r","\r","pm.test(\"Body data validation\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData[0]._id).to.exist;\r","    pm.expect(jsonData[0].people).to.exist;\r","    pm.expect(typeof jsonData).to.eql('object')\r","    pm.expect(jsonData[0].guest).to.exist;\r","});\r",""],"type":"text/javascript"}}],"id":"06760c75-bc61-4d40-a83a-c57c085300ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/openingHours","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","openingHours"],"host":["api","resos","com"],"query":[{"disabled":true,"description":{"content":"<p>True/false. If true, also include deleted opening hours in response</p>\n","type":"text/plain"},"key":"showDeleted","value":""},{"disabled":true,"description":{"content":"<p>True/false. If true, only include special opening hours in response</p>\n","type":"text/plain"},"key":"onlySpecial","value":""},{"disabled":true,"description":{"content":"<p>restaurant / takeaway. Specify which type of opening hours to return. Defaults to restaurant.</p>\n","type":"text/plain"},"key":"type","value":"restaurant"}],"variable":[]}},"response":[{"id":"ed5b4ab7-b174-4334-ac9f-93eee8618718","name":"List opening hours","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.resos.com/v1/openingHours?showDeleted=false&onlySpecial=false&type=restaurant","protocol":"https","host":["api","resos","com"],"path":["v1","openingHours"],"query":[{"key":"showDeleted","value":"false","description":"True/false. If true, also include deleted opening hours in response"},{"key":"onlySpecial","value":"false","description":"True/false. If true, only include special opening hours in response"},{"key":"type","value":"restaurant","description":"restaurant / takeaway. Specify which type of opening hours to return. Defaults to restaurant."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"zafbQPmxiW7iiyRZM\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 1,\n        \"open\": 1200,\n        \"close\": 1645,\n        \"open_sec\": 43200,\n        \"close_sec\": 60300,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:22:56.106Z\",\n        \"endDate\": \"\",\n        \"payment\": {\n            \"active\": false\n        },\n        \"updatedAt\": \"2022-05-19T08:44:02.915Z\",\n        \"updatedBy\": \"qaRxqAK38rGcMDHea\",\n        \"changeLog\": [\n            {\n                \"createdAt\": \"2022-05-19T08:43:27.322Z\",\n                \"userName\": \"Christoffer's test restaurant\",\n                \"changes\": [\n                    {\n                        \"key\": \"open\",\n                        \"from\": 1000,\n                        \"to\": 1200\n                    },\n                    {\n                        \"key\": \"close\",\n                        \"from\": 2200,\n                        \"to\": 1545\n                    },\n                    {\n                        \"key\": \"open_sec\",\n                        \"from\": 36000,\n                        \"to\": 43200\n                    },\n                    {\n                        \"key\": \"close_sec\",\n                        \"from\": 79200,\n                        \"to\": 55979\n                    }\n                ]\n            },\n            {\n                \"createdAt\": \"2022-05-19T08:44:03.006Z\",\n                \"createdBy\": \"qaRxqAK38rGcMDHea\",\n                \"userName\": \"Christoffer's test restaurant\",\n                \"changes\": [\n                    {\n                        \"key\": \"close\",\n                        \"from\": 1545,\n                        \"to\": 1645\n                    },\n                    {\n                        \"key\": \"close_sec\",\n                        \"from\": 55979,\n                        \"to\": 60300\n                    }\n                ]\n            }\n        ]\n    },\n    {\n        \"_id\": \"PQMG8BWNKeJGCdusJ\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 2,\n        \"open\": 1000,\n        \"close\": 2200,\n        \"open_sec\": 36000,\n        \"close_sec\": 79200,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:22:57.521Z\"\n    },\n    {\n        \"_id\": \"yuyFTy6haM5ddNtmv\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 3,\n        \"open\": 1000,\n        \"close\": 2200,\n        \"open_sec\": 36000,\n        \"close_sec\": 79200,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:22:58.032Z\"\n    },\n    {\n        \"_id\": \"EsYQgGgKY5uouF5FW\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 4,\n        \"open\": 1000,\n        \"close\": 2200,\n        \"open_sec\": 36000,\n        \"close_sec\": 79200,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:22:58.540Z\"\n    },\n    {\n        \"_id\": \"AS3sumv6xHHuKwBkn\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 5,\n        \"open\": 1000,\n        \"close\": 2200,\n        \"open_sec\": 36000,\n        \"close_sec\": 79200,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:22:59.057Z\"\n    },\n    {\n        \"_id\": \"LWY3wTWFx6nxwi4en\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 6,\n        \"open\": 1000,\n        \"close\": 2200,\n        \"open_sec\": 36000,\n        \"close_sec\": 79200,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:23:00.867Z\"\n    },\n    {\n        \"_id\": \"89E39LPb9q2e8xTEE\",\n        \"mode\": \"restaurant\",\n        \"special\": false,\n        \"name\": \"\",\n        \"maxBookings\": 0,\n        \"maxGuests\": 0,\n        \"maxBookingsInterval\": 0,\n        \"maxGuestsInterval\": 0,\n        \"note\": \"\",\n        \"onlyCountOnlineBookings\": false,\n        \"areas\": [],\n        \"useDurationByPeople\": false,\n        \"durationByPeople\": [],\n        \"seating\": {\n            \"active\": false,\n            \"interval\": 15,\n            \"duration\": 120\n        },\n        \"day\": 7,\n        \"open\": 1000,\n        \"close\": 2200,\n        \"open_sec\": 36000,\n        \"close_sec\": 79200,\n        \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n        \"createdBy\": \"qaRxqAK38rGcMDHea\",\n        \"createdAt\": \"2022-01-11T09:23:01.864Z\"\n    }\n]"}],"_postman_id":"06760c75-bc61-4d40-a83a-c57c085300ea"},{"name":"Get by id","event":[{"listen":"test","script":{"id":"52c06eb6-f4aa-44cb-87d7-ad03c0d0041f","exec":["pm.test(\"Status code is 200 and rate-limit header included\", function () {\r","    pm.response.to.have.status(200),\r","    pm.response.to.have.header('retry-after');\r","});\r","\r","pm.test(\"Body data validation\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData[0]._id).to.exist;\r","    pm.expect(jsonData[0].people).to.exist;\r","    pm.expect(typeof jsonData).to.eql('object')\r","    pm.expect(jsonData[0].guest).to.exist;\r","});\r",""],"type":"text/javascript"}}],"id":"f479b589-2448-42c5-aeb9-208427eea410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/openingHours/{id}","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","openingHours","{id}"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"c2c83ecb-3652-4abc-8f27-4a8adce28e13","name":"Get by id","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.resos.com/v1/openingHours/zafbQPmxiW7iiyRZM"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"zafbQPmxiW7iiyRZM\",\n    \"mode\": \"restaurant\",\n    \"special\": false,\n    \"name\": \"\",\n    \"maxBookings\": 0,\n    \"maxGuests\": 0,\n    \"maxBookingsInterval\": 0,\n    \"maxGuestsInterval\": 0,\n    \"note\": \"\",\n    \"onlyCountOnlineBookings\": false,\n    \"areas\": [],\n    \"useDurationByPeople\": false,\n    \"durationByPeople\": [],\n    \"seating\": {\n        \"active\": false,\n        \"interval\": 15,\n        \"duration\": 120\n    },\n    \"day\": 1,\n    \"open\": 1200,\n    \"close\": 1645,\n    \"open_sec\": 43200,\n    \"close_sec\": 60300,\n    \"restaurantId\": \"SFdvxW2eDixsLX5M6\",\n    \"createdBy\": \"qaRxqAK38rGcMDHea\",\n    \"createdAt\": \"2022-01-11T09:22:56.106Z\",\n    \"endDate\": \"\",\n    \"payment\": {\n        \"active\": false\n    },\n    \"updatedAt\": \"2022-05-19T08:44:02.915Z\",\n    \"updatedBy\": \"qaRxqAK38rGcMDHea\",\n    \"changeLog\": [\n        {\n            \"createdAt\": \"2022-05-19T08:43:27.322Z\",\n            \"userName\": \"Christoffer's test restaurant\",\n            \"changes\": [\n                {\n                    \"key\": \"open\",\n                    \"from\": 1000,\n                    \"to\": 1200\n                },\n                {\n                    \"key\": \"close\",\n                    \"from\": 2200,\n                    \"to\": 1545\n                },\n                {\n                    \"key\": \"open_sec\",\n                    \"from\": 36000,\n                    \"to\": 43200\n                },\n                {\n                    \"key\": \"close_sec\",\n                    \"from\": 79200,\n                    \"to\": 55979\n                }\n            ]\n        },\n        {\n            \"createdAt\": \"2022-05-19T08:44:03.006Z\",\n            \"createdBy\": \"qaRxqAK38rGcMDHea\",\n            \"userName\": \"Christoffer's test restaurant\",\n            \"changes\": [\n                {\n                    \"key\": \"close\",\n                    \"from\": 1545,\n                    \"to\": 1645\n                },\n                {\n                    \"key\": \"close_sec\",\n                    \"from\": 55979,\n                    \"to\": 60300\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"f479b589-2448-42c5-aeb9-208427eea410"}],"id":"5b4a2f94-02db-4a47-830f-7de2782aa1e3","_postman_id":"5b4a2f94-02db-4a47-830f-7de2782aa1e3","description":"","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Feedback","item":[{"name":"List feedback","id":"4006d757-abc3-460d-a5ef-8e58db718178","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/guestFeedback?limit=10&skip=1&sort=createdAt:1&customQuery=type:booking&onlySubmitted=true/false","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","guestFeedback"],"host":["api","resos","com"],"query":[{"description":{"content":"<p>See \"Pagination\" documentation</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>See \"Pagination\" documentation</p>\n","type":"text/plain"},"key":"skip","value":"1"},{"description":{"content":"<p>Sort results by field. 1 ascending, -1 descending</p>\n","type":"text/plain"},"key":"sort","value":"createdAt:1"},{"description":{"content":"<p>See \"Search expression\" documentation</p>\n","type":"text/plain"},"key":"customQuery","value":"type:booking"},{"description":{"content":"<p>Return only submitted feedback, i.e. after the user has been to the feedback link and clicked submit.</p>\n","type":"text/plain"},"key":"onlySubmitted","value":"true/false"}],"variable":[]}},"response":[{"id":"74078747-21ac-45e5-acc4-b311fbba3534","name":"List feedback","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.resos.com/v1/guestFeedback?limit=10&skip=1&sort=createdAt:1&customQuery=type:booking","protocol":"https","host":["api","resos","com"],"path":["v1","guestFeedback"],"query":[{"key":"limit","value":"10"},{"key":"skip","value":"1"},{"key":"sort","value":"createdAt:1"},{"key":"customQuery","value":"type:booking"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"retry-after","value":"60","description":"","type":"text"},{"key":"x-ratelimit-limit","value":"100","description":"","type":"text"},{"key":"x-ratelimit-remaining","value":"99","description":"","type":"text"},{"key":"x-ratelimit-reset","value":"Mon May 31 2021 14:36:25 GMT+0200 (Central European Summer Time)","description":"","type":"text"},{"key":"access-control-allow-headers","value":"Authorization,Content-Type","description":"","type":"text"},{"key":"content-type","value":"application/json","description":"","type":"text"},{"key":"vary","value":"Accept-Encoding","description":"","type":"text"},{"key":"content-encoding","value":"gzip","description":"","type":"text"},{"key":"date","value":"Mon, 31 May 2021 12:35:25 GMT","description":"","type":"text"},{"key":"connection","value":"keep-alive","description":"","type":"text"},{"key":"transfer-encoding","value":"chunked","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\r\n    { \r\n        \"_id\" : \"Die4HLN512Aw4kE7E7G\", \r\n        \"restaurantId\" : \"T4ehrSt4126YFbY47Kcd\", \r\n        \"recommended\" : true, \r\n        \"booking\" : {\r\n            \"_id\" : \"6xBk5J9eH3TaTCQkf\", \r\n            \"people\" : 3, \r\n            \"dateTime\" : \"2021-08-27T12:15:00.000+0000\", \r\n            \"endDateTime\" : \"2021-08-27T14:15:00.000+0000\", \r\n            \"guest\" : {\r\n                \"name\" : \"Neo\", \r\n                \"email\" : \"neo@matrix.com\", \r\n                \"phone\" : \"+454564123320565954\", \r\n                \"notificationEmail\" : true, \r\n                \"notificationSms\" : false\r\n            }, \r\n            \"tables\" : [\r\n                {\r\n                    \"_id\" : \"wDiuFQP83412mjcyBh9S\", \r\n                    \"name\" : \"100\", \r\n                    \"seatsMin\" : 2, \r\n                    \"seatsMax\" : 4, \r\n                    \"area\" : {\r\n                        \"_id\" : \"QQopHk3DApn123KCxttp\", \r\n                        \"name\" : \"Inside\", \r\n                        \"internalNote\" : \"\", \r\n                        \"bookingPriority\" : 5\r\n                    }\r\n                }\r\n            ], \r\n            \"status\" : \"approved\", \r\n            \"source\" : \"website\", \r\n            \"createdAt\" : \"2021-08-24T07:04:57.599+0000\"\r\n        }, \r\n        \"createdAt\" : \"2021-08-24T07:09:41.487+0000\", \r\n        \"type\" : \"booking\", \r\n        \"customerId\" : \"E9h8f2z74123CKeNxsPeW\", \r\n        \"atmosphere\" : 4, \r\n        \"food\" : 5, \r\n        \"message\" : \"Awesome\", \r\n        \"service\" : 5, \r\n        \"submitted\" : true, \r\n        \"value\" : 3\r\n    },\r\n    { \r\n        \"_id\" : \"Die4HLN512Aw4kE7E7G\", \r\n        \"restaurantId\" : \"T4ehrSt4126YFbY47Kcd\", \r\n        \"recommended\" : true, \r\n        \"booking\" : {\r\n            \"_id\" : \"6xBk5J9eH3TaTCQkf\", \r\n            \"people\" : 3, \r\n            \"dateTime\" : \"2021-08-27T12:15:00.000+0000\", \r\n            \"endDateTime\" : \"2021-08-27T14:15:00.000+0000\", \r\n            \"guest\" : {\r\n                \"name\" : \"Neo\", \r\n                \"email\" : \"neo@matrix.com\", \r\n                \"phone\" : \"+454564123320565954\", \r\n                \"notificationEmail\" : true, \r\n                \"notificationSms\" : false\r\n            }, \r\n            \"tables\" : [\r\n                {\r\n                    \"_id\" : \"wDiuFQP83412mjcyBh9S\", \r\n                    \"name\" : \"100\", \r\n                    \"seatsMin\" : 2, \r\n                    \"seatsMax\" : 4, \r\n                    \"area\" : {\r\n                        \"_id\" : \"QQopHk3DApn123KCxttp\", \r\n                        \"name\" : \"Inside\", \r\n                        \"internalNote\" : \"\", \r\n                        \"bookingPriority\" : 5\r\n                    }\r\n                }\r\n            ], \r\n            \"status\" : \"approved\", \r\n            \"source\" : \"website\", \r\n            \"createdAt\" : \"2021-08-24T07:04:57.599+0000\"\r\n        }, \r\n        \"createdAt\" : \"2021-08-24T07:09:41.487+0000\", \r\n        \"type\" : \"booking\", \r\n        \"customerId\" : \"E9h8f2z74123CKeNxsPeW\", \r\n        \"atmosphere\" : 1, \r\n        \"food\" : 2, \r\n        \"message\" : \"Not good!\", \r\n        \"service\" : 5, \r\n        \"submitted\" : true, \r\n        \"value\" : 5\r\n    }\r\n]"}],"_postman_id":"4006d757-abc3-460d-a5ef-8e58db718178"},{"name":"Get feedback","id":"c764fe2c-3704-47dc-b9b2-e14ef097724f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/guestFeedback/{id}","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","guestFeedback","{id}"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"73b30e9c-0e3f-4bdc-91fd-d84e26964e61","name":"Get feedback","originalRequest":{"method":"GET","header":[],"url":"https://api.resos.com/v1/guestFeedback/Die4HLN512Aw4kE7E7G"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 18 Jun 2020 08:27:25 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"    { \n        \"_id\" : \"Die4HLN512Aw4kE7E7G\", \n        \"restaurantId\" : \"T4ehrSt4126YFbY47Kcd\", \n        \"recommended\" : true, \n        \"booking\" : {\n            \"_id\" : \"6xBk5J9eH3TaTCQkf\", \n            \"people\" : 3, \n            \"dateTime\" : \"2021-08-27T12:15:00.000+0000\", \n            \"endDateTime\" : \"2021-08-27T14:15:00.000+0000\", \n            \"guest\" : {\n                \"name\" : \"Neo\", \n                \"email\" : \"neo@matrix.com\", \n                \"phone\" : \"+454564123320565954\", \n                \"notificationEmail\" : true, \n                \"notificationSms\" : false\n            }, \n            \"tables\" : [\n                {\n                    \"_id\" : \"wDiuFQP83412mjcyBh9S\", \n                    \"name\" : \"100\", \n                    \"seatsMin\" : 2, \n                    \"seatsMax\" : 4, \n                    \"area\" : {\n                        \"_id\" : \"QQopHk3DApn123KCxttp\", \n                        \"name\" : \"Inside\", \n                        \"internalNote\" : \"\", \n                        \"bookingPriority\" : 5\n                    }\n                }\n            ], \n            \"status\" : \"approved\", \n            \"source\" : \"website\", \n            \"createdAt\" : \"2021-08-24T07:04:57.599+0000\"\n        }, \n        \"createdAt\" : \"2021-08-24T07:09:41.487+0000\", \n        \"type\" : \"booking\", \n        \"customerId\" : \"E9h8f2z74123CKeNxsPeW\", \n        \"atmosphere\" : 1, \n        \"food\" : 2, \n        \"message\" : \"Not good!\", \n        \"service\" : 5, \n        \"submitted\" : true, \n        \"value\" : 5\n    }"}],"_postman_id":"c764fe2c-3704-47dc-b9b2-e14ef097724f"}],"id":"a17dd145-656d-45b1-ac52-6bbe01479638","_postman_id":"a17dd145-656d-45b1-ac52-6bbe01479638","description":"","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Customers","item":[{"name":"List customers","id":"6951b541-6e67-49af-88e6-0bd77b45cda6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customers?limit=10&skip=1&customQuery=name;Neo","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","customers"],"host":["api","resos","com"],"query":[{"description":{"content":"<p>See \"Pagination\" documentation</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>See \"Pagination\" documentation</p>\n","type":"text/plain"},"key":"skip","value":"1"},{"description":{"content":"<p>See \"Search expression\" documentation</p>\n","type":"text/plain"},"key":"customQuery","value":"name;Neo"}],"variable":[]}},"response":[{"id":"661a34a9-a23f-4c19-9758-5121c3270852","name":"List customers","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.resos.com/v1/customers?limit=10&skip=1&customQuery=name;Neo","protocol":"https","host":["api","resos","com"],"path":["v1","customers"],"query":[{"key":"limit","value":"10"},{"key":"skip","value":"1"},{"key":"customQuery","value":"name;Neo"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"retry-after","value":"60","description":"","type":"text"},{"key":"x-ratelimit-limit","value":"100","description":"","type":"text"},{"key":"x-ratelimit-remaining","value":"99","description":"","type":"text"},{"key":"x-ratelimit-reset","value":"Mon May 31 2021 14:36:25 GMT+0200 (Central European Summer Time)","description":"","type":"text"},{"key":"access-control-allow-headers","value":"Authorization,Content-Type","description":"","type":"text"},{"key":"content-type","value":"application/json","description":"","type":"text"},{"key":"vary","value":"Accept-Encoding","description":"","type":"text"},{"key":"content-encoding","value":"gzip","description":"","type":"text"},{"key":"date","value":"Mon, 31 May 2021 12:35:25 GMT","description":"","type":"text"},{"key":"connection","value":"keep-alive","description":"","type":"text"},{"key":"transfer-encoding","value":"chunked","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\r\n    { \r\n        \"_id\" : \"b141131616-e418c1-41a0e-b230ac-04a42d064b24c\", \r\n        \"restaurantId\" : \"PT4Mphga312zdoTwH6eJ\", \r\n        \"name\" : \"Neo Matrix\", \r\n        \"emails\" : [\r\n            \"neo@matrix.com\"\r\n        ]\r\n    },\r\n    { \r\n        \"_id\" : \"b141211616-e84c1-4a01e-b0ac-0a2342d064b24c\", \r\n        \"restaurantId\" : \"PT4Mphga312zdoTwH6eJ\", \r\n        \"name\" : \"Matrix Neo\", \r\n        \"emails\" : [\r\n            \"neo@matrix.com\"\r\n        ]\r\n    }\r\n]"}],"_postman_id":"6951b541-6e67-49af-88e6-0bd77b45cda6"},{"name":"Get customer","id":"26118f8e-8c60-4565-9adb-30e002b37d92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customers/{id}","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","customers","{id}"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"ca7c97c3-ca79-4e45-a2c3-780cb936e506","name":"Get customer","originalRequest":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customers/b141211616-e84c1-4a01e-b0ac-0a2342d064b24c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Authorization,Content-Type"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 18 Jun 2020 08:27:25 GMT"},{"key":"connection","value":"keep-alive"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{ \n    \"_id\" : \"b141131616-e418c1-41a0e-b230ac-04a42d064b24c\", \n    \"restaurantId\" : \"PT4Mphga312zdoTwH6eJ\", \n    \"name\" : \"Neo Matrix\", \n    \"emails\" : [\n        \"neo@matrix.com\"\n    ]\n}"}],"_postman_id":"26118f8e-8c60-4565-9adb-30e002b37d92"}],"id":"ecf13ec2-9d15-43c2-830b-42407dbc29dc","_postman_id":"ecf13ec2-9d15-43c2-830b-42407dbc29dc","description":"","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Custom fields","item":[{"name":"List custom fields","id":"d1955c86-be4e-4368-b786-a7a372138345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customFields/","description":"<p>Fetch all custom fields</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","customFields",""],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"d2ee738f-1353-480f-94c2-ae9398d634a9","name":"List custom fields","originalRequest":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customFields/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"tqZhoWtva48cKPLkE\",\n        \"name\": \"Internal name text field\",\n        \"type\": \"string\",\n        \"isRequired\": true,\n        \"defaultOnAllOpeningHours\": true,\n        \"showAsBadge\": true,\n        \"restaurantId\": \"7rXSfhxHfLD5AYDD9\",\n        \"createdAt\": \"2025-03-07T11:11:35.735Z\",\n        \"activeFlows\": [\n            \"booking\"\n        ],\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"badgeColor\": \"yellow\",\n        \"label\": \"Label text field\",\n        \"helptext\": \"This is a label for a text field\",\n        \"multipleChoiceSelections\": [\n            {\n                \"_id\": \"WPx2pMgA2Tz7WvEj6\",\n                \"name\": \"\"\n            }\n        ],\n        \"sortIndex\": 0\n    },\n    {\n        \"_id\": \"wMWTRFQeZgdoDoKvX\",\n        \"name\": \"Internal name number field\",\n        \"type\": \"number\",\n        \"isRequired\": true,\n        \"defaultOnAllOpeningHours\": false,\n        \"showAsBadge\": true,\n        \"restaurantId\": \"7rXSfhxHfLD5AYDD9\",\n        \"createdAt\": \"2025-03-07T11:12:07.587Z\",\n        \"activeFlows\": [\n            \"booking\"\n        ],\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"badgeColor\": \"purple\",\n        \"label\": \"Label number field\",\n        \"helptext\": \"This is a label for a number field\",\n        \"multipleChoiceSelections\": [\n            {\n                \"_id\": \"bozNeET6m8PKfxr6Y\",\n                \"name\": \"\"\n            }\n        ],\n        \"sortIndex\": 1\n    },\n    {\n        \"_id\": \"7A6MEXJXKvwKiHQQC\",\n        \"name\": \"Internal name multiple choice checkboxes\",\n        \"type\": \"checkbox\",\n        \"isRequired\": false,\n        \"defaultOnAllOpeningHours\": false,\n        \"showAsBadge\": true,\n        \"restaurantId\": \"7rXSfhxHfLD5AYDD9\",\n        \"createdAt\": \"2025-03-07T11:12:51.350Z\",\n        \"activeFlows\": [\n            \"booking\"\n        ],\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"badgeColor\": \"black\",\n        \"label\": \"Label for multiple choice checkboxes\",\n        \"helptext\": \"Help text for multiple choice\",\n        \"multipleChoiceSelections\": [\n            {\n                \"_id\": \"JEL35LoHBN7hosrhv\",\n                \"name\": \"Option 1\"\n            },\n            {\n                \"_id\": \"yGXwWH8JyAXeQg8uw\",\n                \"name\": \"Option 2\"\n            },\n            {\n                \"_id\": \"2Xo6qRgXcnxsfwWHr\",\n                \"name\": \"Option 3\"\n            }\n        ],\n        \"sortIndex\": 2\n    },\n    {\n        \"_id\": \"Bzeb7ErdBAJuLWZQ5\",\n        \"name\": \"Internal name single choice radio \",\n        \"type\": \"radio\",\n        \"isRequired\": false,\n        \"defaultOnAllOpeningHours\": false,\n        \"showAsBadge\": true,\n        \"restaurantId\": \"7rXSfhxHfLD5AYDD9\",\n        \"createdAt\": \"2025-03-07T11:13:39.657Z\",\n        \"activeFlows\": [\n            \"booking\"\n        ],\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"badgeColor\": \"turquoise\",\n        \"label\": \"Label single choice radio buttons\",\n        \"helptext\": \"Help text for single choice radio buttons\",\n        \"multipleChoiceSelections\": [\n            {\n                \"_id\": \"sH8EHEbH9PZxLnAsd\",\n                \"name\": \"Radio 1\"\n            },\n            {\n                \"_id\": \"2RP8NbfoNXpL3w4Pu\",\n                \"name\": \"Radio 2\"\n            },\n            {\n                \"_id\": \"iSDmDNr56zHPMiueP\",\n                \"name\": \"Radio 3\"\n            }\n        ],\n        \"sortIndex\": 3\n    },\n    {\n        \"_id\": \"eGozPT7oKkds8Xgmo\",\n        \"name\": \"Internal name dropdown options\",\n        \"type\": \"selector\",\n        \"isRequired\": true,\n        \"defaultOnAllOpeningHours\": true,\n        \"showAsBadge\": true,\n        \"restaurantId\": \"7rXSfhxHfLD5AYDD9\",\n        \"createdAt\": \"2025-03-07T11:14:12.638Z\",\n        \"activeFlows\": [\n            \"booking\"\n        ],\n        \"createdBy\": \"33P5EPKycx5tTkTLz\",\n        \"badgeColor\": \"yellow\",\n        \"label\": \"Label dropdown options\",\n        \"helptext\": \"Help text for dropdown options\",\n        \"multipleChoiceSelections\": [\n            {\n                \"_id\": \"MvwKK2SuPDW47S3pv\",\n                \"name\": \"Dropdown 1\"\n            },\n            {\n                \"_id\": \"hDTYK8rZwk2KPYSqA\",\n                \"name\": \"Dropdown 2\"\n            },\n            {\n                \"_id\": \"F2ENkg4Y7G6cKvejD\",\n                \"name\": \"Dropdown 3\"\n            }\n        ],\n        \"sortIndex\": 4\n    }\n]"}],"_postman_id":"d1955c86-be4e-4368-b786-a7a372138345"},{"name":"Get custom field","id":"2607192a-b522-4546-affe-d9a30b884bb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customFields/{id}","description":"<p>Get a single custom field</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","customFields","{id}"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"8e11f006-39a7-43cb-8fcc-9da2015c2c24","name":"List custom fields","originalRequest":{"method":"GET","header":[],"url":"https://api.resos.com/v1/customFields/tqZhoWtva48cKPLkE"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"tqZhoWtva48cKPLkE\",\n    \"name\": \"Internal name text field\",\n    \"type\": \"string\",\n    \"isRequired\": true,\n    \"defaultOnAllOpeningHours\": true,\n    \"showAsBadge\": true,\n    \"restaurantId\": \"7rXSfhxHfLD5AYDD9\",\n    \"createdAt\": \"2025-03-07T11:11:35.735Z\",\n    \"activeFlows\": [\n        \"booking\"\n    ],\n    \"createdBy\": \"33P5EPKycx5tTkTLz\",\n    \"badgeColor\": \"yellow\",\n    \"label\": \"Label text field\",\n    \"helptext\": \"This is a label for a text field\",\n    \"multipleChoiceSelections\": [\n        {\n            \"_id\": \"WPx2pMgA2Tz7WvEj6\",\n            \"name\": \"\"\n        }\n    ],\n    \"sortIndex\": 0\n}"}],"_postman_id":"2607192a-b522-4546-affe-d9a30b884bb5"}],"id":"c08b5ef8-0b4c-4cee-a8e6-0817cbea1f45","description":"<p>A collection of endpoints for working with the feature Custom Fields.</p>\n<p>To use when creating bookings, an array field called <code>customFields</code> should be passed in the root of the body. This array should contain objects with each active custom field to be set on the booking.</p>\n<p><strong>Properties for text and number fields</strong></p>\n<p>For the single-value fields, text and number, the custom field object should contain 4 properties:</p>\n<ul>\n<li><p><code>_id</code> - corresponds to the custom field ID which can be fetched with the list endpoint</p>\n</li>\n<li><p><code>name</code> - corresponds to the name of the custom field</p>\n</li>\n<li><p><code>label</code> - corresponds to the label of the custom field</p>\n</li>\n<li><p><code>value</code> - the specific value for the field. Any arbitrary text for the text custom field, and any arbitrary numeric value for the number field</p>\n</li>\n</ul>\n<p><strong>Properties for the single-choice radio and dropdown fields</strong></p>\n<p>For the single-choice fields, radio and dropdown, the custom field object should contain 5 properties:</p>\n<ul>\n<li><p><code>_id</code> - corresponds to the custom field ID which can be fetched with the list endpoint</p>\n</li>\n<li><p><code>name</code> - corresponds to the name of the custom field</p>\n</li>\n<li><p><code>label</code> - corresponds to the label of the custom field</p>\n</li>\n<li><p><code>value</code> - the ID of the value (not the custom field) chosen</p>\n</li>\n<li><p><code>multipleChoiceValueName</code> - corresponds to the name of the specific value chosen</p>\n</li>\n</ul>\n<p><strong>Properties for the multiple choice field</strong></p>\n<p>For the multiple choice checkbox custom field, the custom field object should contain 4 properties:</p>\n<ul>\n<li><p><code>_id</code> - corresponds to the custom field ID which can be fetched with the list endpoint</p>\n</li>\n<li><p><code>name</code> - corresponds to the name of the custom field</p>\n</li>\n<li><p><code>label</code> - corresponds to the label of the custom field</p>\n</li>\n<li><p><code>value</code> - an array of objects. Each object is a choice checked.</p>\n<ul>\n<li><p>These objects should contain 3 properties -</p>\n<ul>\n<li><p><code>_id</code> - the ID of the choice (not the custom field)</p>\n</li>\n<li><p><code>name</code> - the name of the choice</p>\n</li>\n<li><p><code>value</code> - true / false</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>For an example, check the <a href=\"https://documenter.getpostman.com/view/3308304/SzzehLGp?version=latest#afd2438f-749e-4440-8b32-d4cdb3dd6925\">\"Create booking with custom fields\" example.</a></p>\n","_postman_id":"c08b5ef8-0b4c-4cee-a8e6-0817cbea1f45","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}}},{"name":"Healthcheck","id":"9238a62d-9b09-46af-9aa0-a1226d75e569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.resos.com/v1/healthcheck","description":"<p>Verify your API key and connection by sending a request to this endpoint.</p>\n<p>Returns an authentication error if missing or invalid API key is included.</p>\n","auth":{"type":"basic","basic":{"username":"<username>"},"isInherited":true,"source":{"_postman_id":"938f6793-7f93-44c5-b082-c88924d28041","id":"938f6793-7f93-44c5-b082-c88924d28041","name":"resOS API (v1.2)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","healthcheck"],"host":["api","resos","com"],"query":[],"variable":[]}},"response":[{"id":"58bda772-4250-4d90-8721-e2b1f3fa9742","name":"Healthcheck","originalRequest":{"method":"GET","header":[],"url":"https://api.resos.com/v1/healthcheck"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Now we're cooking!\",\n    \"restaurantId\": \"447qbwJ1dpjvEw\"\n}"}],"_postman_id":"9238a62d-9b09-46af-9aa0-a1226d75e569"}],"auth":{"type":"basic","basic":{"username":"<username>"}},"event":[{"listen":"prerequest","script":{"id":"3ed18fc0-ce45-4e9f-a55c-953859cf478d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9bea029c-4080-4b68-a6ac-5062356a0847","type":"text/javascript","exec":[""]}}]}