Search reservations
curl --request GET \
--url https://app.eat-now.io/api/partner/v1/reservations \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.eat-now.io/api/partner/v1/reservations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.eat-now.io/api/partner/v1/reservations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.eat-now.io/api/partner/v1/reservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.eat-now.io/api/partner/v1/reservations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.eat-now.io/api/partner/v1/reservations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.eat-now.io/api/partner/v1/reservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"external_id": "<string>",
"status": "PENDING",
"start_at": "2023-11-07T05:31:56Z",
"end_at": "2023-11-07T05:31:56Z",
"duration_minutes": 2,
"party_size": 1,
"source": "WALK_IN",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"customer": {
"id": "<string>",
"name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>"
},
"room": {
"id": "<string>",
"name": "<string>"
},
"payment_summary": {
"currency": "MAD",
"total_amount": 123,
"paid_amount": 123,
"gift_card_amount": 123,
"authorized_amount": 123,
"pending_amount": 123,
"refunded_amount": 123,
"statuses": [
"FREE"
]
},
"is_hotel_guest": true,
"hotel_room_number": "<string>",
"pms_reference": {
"stay_id": "<string>"
},
"sensitive_data_included": true
}
],
"pagination": {
"page": 2,
"per_page": 50,
"total": 1,
"total_pages": 1
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}Reservations
Search reservations
Returns a paginated list of reservation summary rows for the authenticated restaurant. Use this endpoint to filter by date range, customer (id or contact data), status, external reference, or party size, or to sync the reservations changed since a given instant with updated_since. For full reservation details, call GET /reservations/{id}. Requires RESERVATIONS_READ. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking.
GET
/
api
/
partner
/
v1
/
reservations
Search reservations
curl --request GET \
--url https://app.eat-now.io/api/partner/v1/reservations \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.eat-now.io/api/partner/v1/reservations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.eat-now.io/api/partner/v1/reservations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.eat-now.io/api/partner/v1/reservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.eat-now.io/api/partner/v1/reservations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.eat-now.io/api/partner/v1/reservations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.eat-now.io/api/partner/v1/reservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"external_id": "<string>",
"status": "PENDING",
"start_at": "2023-11-07T05:31:56Z",
"end_at": "2023-11-07T05:31:56Z",
"duration_minutes": 2,
"party_size": 1,
"source": "WALK_IN",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"customer": {
"id": "<string>",
"name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>"
},
"room": {
"id": "<string>",
"name": "<string>"
},
"payment_summary": {
"currency": "MAD",
"total_amount": 123,
"paid_amount": 123,
"gift_card_amount": 123,
"authorized_amount": 123,
"pending_amount": 123,
"refunded_amount": 123,
"statuses": [
"FREE"
]
},
"is_hotel_guest": true,
"hotel_room_number": "<string>",
"pms_reference": {
"stay_id": "<string>"
},
"sensitive_data_included": true
}
],
"pagination": {
"page": 2,
"per_page": 50,
"total": 1,
"total_pages": 1
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "<string>",
"request_id": "<string>",
"details": {}
}
}Authorizations
Query Parameters
Filter reservations by one or more reservation statuses. Repeat the query parameter to pass multiple values.
Available options:
PENDING, PENDING_PAYMENT, CANCELED_BY_USER, CONFIRMED, CONFIRMED_PENDING_PAYMENT, MANUALLY_CONFIRMED, DOUBLE_CONFIRMED, REJECTED, CANCELED_BY_RESTAURANT, SHOWED_UP, NO_SHOW, SEATED, PARTIALLY_SEATED, DONE, SEATED_FOR_DRINKS