Requires RESERVATIONS_WRITE. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. products sells the shift’s formulas (PREPAYMENT) and add-ons (EXTRA), listed by GET /shifts/{id}/products, with the booking portal’s rules: products sold to the booking’s prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 PAYMENT_REQUIRED, details.reason: PREPAYMENT_REQUIRED). The day’s stock is checked again when the reservation is written: 409 PRODUCT_CAPACITY_UNAVAILABLE when it ran out; bypass_availability skips it. While the reservation awaits an online payment, the response carries payment_url (with RESERVATIONS_READ_SENSITIVE). pms_reference links the reservation to a stay of the hotel’s PMS and marks a hotel guest. external_id, when provided, must be unique per restaurant and duplicate values return a conflict response. customer takes either { id } to link an existing customer, or the customer’s details inline: the customer is then found or created in the same call (see customer.on_match), no separate customer call needed. customer may be set to null to create an anonymous reservation with no linked customer, such as a walk-in. Without a bypass_* flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. bypass_availability is available only to credentials with the RESERVATIONS_FORCE_INSERT scope and force-inserts the reservation without capacity validation, under any shift_id. The same RESERVATIONS_FORCE_INSERT scope is also required when initial_status is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. bypass_approval is available only to credentials with the RESERVATIONS_FORCE_CONFIRM scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift’s minimum party size, unless the reservation starts within the shift’s deposit delay; a force insert under another shift’s id still owes the payments of the shift whose hours hold start_at. A request that would skip a payment returns 422 PAYMENT_REQUIRED; bypass_payments waives it and requires RESERVATIONS_FORCE_CONFIRM, except with an operational initial_status. With bypass_payments, no deposit is taken and the products are recorded as paid on site (FREE): they still take stock. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.
Restaurant-scoped partner API token passed as Authorization: Bearer <token>.
Body
application/json
Reservation creation payload for standard bookings, force inserts, or operational walk-ins.
customer
Option 1 · objectOption 2 · objectOption 3 · any
required
Customer of the reservation. Pass { id } to link an existing customer, or the customer's details inline to find or create the customer in the same call (see on_match); no separate customer call is needed. Use null to create an anonymous reservation with no linked customer, such as a walk-in.
Show child attributes
party_size
integer
required
Required range: x >= 1
start_at
string<date-time>
required
Reservation start datetime in the restaurant timezone, including offset.
shift_id
string
Optional shift identifier. When omitted, the system resolves the shift from start_at. When provided, the shift must cover start_at, unless bypass_availability is true.
Minimum string length: 1
room_id
string
Optional room identifier to target during booking.
Minimum string length: 1
table_ids
string[]
Optional table identifiers to assign at creation.
Minimum string length: 1
waiter_id
string
Minimum string length: 1
external_id
string
Optional partner reference. When provided, it must be unique per restaurant.
Minimum string length: 1
source
enum<string>
Optional reservation source. Defaults to WEBSITE.
Available options:
WALK_IN,
WEBSITE,
PHONE,
EMAIL,
RESERVE_WITH_GOOGLE,
TRAVEL_AGENCIES,
OTHER,
INSTAGRAM,
FACEBOOK,
TIKTOK,
SNAPCHAT,
WHATSAPP,
TRIPADVISOR,
PRIVATIZATION,
MISSED_CALL
prescriber_id
string
Minimum string length: 1
discount_id
string
Minimum string length: 1
tags
string[]
attached_files
string[]
metadata
object | null
Show child attributes
allergies
string | null
Guest-facing note, such as allergies or special requests.
custom_message
string | null
Internal staff note stored on the reservation.
total_amount_paid
integer | null
Optional total amount already paid for the reservation, expressed in the smallest currency unit used by the restaurant, for example cents.
Required range: x >= 0
products
object[]
What the guest buys with the reservation, as on the booking portal: the shift's formulas (required when the shift makes a prepayment mandatory) and add-ons, checked against the shift (sold to this booking, variant fitting the party, booking ahead, stock of the day). Paid online for their share when a payment provider is connected (the reservation then awaits payment), else on site.
Maximum array length: 20
Show child attributes
bypass_payments
boolean
default:false
When false, the reservation keeps the shift's payment terms, as on the booking portal: a request that would skip one is rejected with PAYMENT_REQUIRED. When true, nothing is collected: no deposit, and the products are recorded as paid on site. Waiving a payment the shift or the products require needs the RESERVATIONS_FORCE_CONFIRM scope, except with an operational initial_status.
bypass_availability
boolean
default:false
When true, skips availability and capacity validation, and accepts a shift_id whose hours do not cover start_at. This requires the RESERVATIONS_FORCE_INSERT scope and marks the reservation as force inserted. It waives no payment: the shift whose hours hold start_at still sets them unless bypass_payments is true.
bypass_approval
boolean
default:false
When true, bypasses manual staff approval for shifts that normally create pending reservations. This requires the RESERVATIONS_FORCE_CONFIRM scope.
initial_status
enum<string>
Optional privileged create-time status override. When provided, this requires the RESERVATIONS_FORCE_INSERT scope and is validated against payment and manual-approval rules.
Available options:
PENDING,
CONFIRMED,
CONFIRMED_PENDING_PAYMENT,
SHOWED_UP,
SEATED,
PARTIALLY_SEATED,
SEATED_FOR_DRINKS
send_client_notifications
boolean
default:true
When false, customer email and WhatsApp notifications are suppressed. Restaurant-side notifications still run.
send_payment_link
boolean
default:true
Controls delayed payment-link delivery for what the reservation owes online (deposit, products). Ignored when payments are bypassed or nothing is owed online. Without it, settle the payments before their deadline (payment_url, or the payment writes): an unpaid reservation is cancelled when its deadline passes.
is_hotel_guest
boolean
False clears the room and unlinks the stay. A room or a PMS reference implies true.
hotel_room_number
string | null
Another room than the linked stay's unlinks the stay (the room no longer comes from the PMS).
Maximum string length: 20
pms_reference
object | null
The stay in the hotel's property management system (PMS), when the visit is linked to one. Read: null without the sensitive view. Write: links the visit to a PMS stay; null unlinks it.
Show child attributes
Response
Reservation created
data
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EatNow Docs","colors":{"primary":"#EB5E0B","light":"#F5752A","dark":"#B54908"},"logo":{"light":"https://mintcdn.com/eatnow/_MSMEa_JKogYV0tN/images/brand/lockup-horizontal-ink.svg?fit=max\u0026auto=format\u0026n=_MSMEa_JKogYV0tN\u0026q=85\u0026s=007d896c7ab3a4898ff2c31275d05b40","dark":"https://mintcdn.com/eatnow/_MSMEa_JKogYV0tN/images/brand/lockup-horizontal-paper.svg?fit=max\u0026auto=format\u0026n=_MSMEa_JKogYV0tN\u0026q=85\u0026s=550b00bec42289e3321f657481d5a01f"},"favicon":"https://mintcdn.com/eatnow/_MSMEa_JKogYV0tN/favicon.ico?fit=max\u0026auto=format\u0026n=_MSMEa_JKogYV0tN\u0026q=85\u0026s=bb36544182e7678f1d729b1bd83f7ed3","navbar":{"links":[{"href":"https://wa.me/33651435435","label":"Contact"}],"primary":{"type":"button","label":"Open EatNow","href":"https://app.eat-now.io"}},"footer":{"socials":{"website":"https://eat-now.io"}},"seo":{"metatags":{"robots":"noindex"}},"icons":{"library":"tabler"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"fr","default":false,"href":"fr"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"eatnow","hasAudioNarration":false,"actualSubdomain":"eatnow","customDomains":["docs.eat-now.io"],"gitSource":{"type":"github","owner":"eatnow-app","repo":"monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b04483f4ca26305da2d21bd","clientVersion":"0.0.4324","searchFilterCounts":[{"language":"en","tag":"Guides","count":148},{"language":"fr","tag":"Guides","count":148},{"language":"default","tag":"API Reference","count":54},{"language":"en","tag":"Shifts","count":15},{"language":"fr","tag":"Services","count":15},{"language":"en","tag":"WhatsApp","count":14},{"language":"fr","tag":"WhatsApp","count":14},{"language":"default","tag":"Activities","count":14},{"language":"en","tag":"Activities","count":12},{"language":"en","tag":"AI Agent","count":11},{"language":"en","tag":"API Reference","count":11},{"language":"en","tag":"Booking portal","count":11},{"language":"fr","tag":"Activités","count":11},{"language":"fr","tag":"Agent IA","count":11},{"language":"fr","tag":"API Reference","count":11},{"language":"fr","tag":"Portail de réservation","count":11},{"language":"en","tag":"Integrations","count":10},{"language":"fr","tag":"Intégrations","count":10},{"language":"en","tag":"Marketing","count":9},{"language":"fr","tag":"Marketing","count":9},{"language":"en","tag":"Notifications","count":8},{"language":"fr","tag":"Notifications","count":8},{"language":"default","tag":"Gift cards","count":8},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Catalog","count":6},{"language":"default","tag":"Customers","count":5},{"language":"default","tag":"Reservations","count":5},{"language":"default","tag":"Payments","count":3},{"language":"default","tag":"Availability","count":2},{"language":"default","tag":"Meta","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/reservations/create-a-reservation","slug":"/api-reference/reservations/create-a-reservation","pageMetadata":{"title":"Create a reservation","description":"Requires `RESERVATIONS_WRITE`. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. `products` sells the shift's formulas (`PREPAYMENT`) and add-ons (`EXTRA`), listed by `GET /shifts/{id}/products`, with the booking portal's rules: products sold to the booking's prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 `PAYMENT_REQUIRED`, `details.reason: PREPAYMENT_REQUIRED`). The day's stock is checked again when the reservation is written: 409 `PRODUCT_CAPACITY_UNAVAILABLE` when it ran out; `bypass_availability` skips it. While the reservation awaits an online payment, the response carries `payment_url` (with `RESERVATIONS_READ_SENSITIVE`). `pms_reference` links the reservation to a stay of the hotel's PMS and marks a hotel guest. `external_id`, when provided, must be unique per restaurant and duplicate values return a conflict response. `customer` takes either `{ id }` to link an existing customer, or the customer's details inline: the customer is then found or created in the same call (see `customer.on_match`), no separate customer call needed. `customer` may be set to `null` to create an anonymous reservation with no linked customer, such as a walk-in. Without a `bypass_*` flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. `bypass_availability` is available only to credentials with the `RESERVATIONS_FORCE_INSERT` scope and force-inserts the reservation without capacity validation, under any `shift_id`. The same `RESERVATIONS_FORCE_INSERT` scope is also required when `initial_status` is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. `bypass_approval` is available only to credentials with the `RESERVATIONS_FORCE_CONFIRM` scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift's minimum party size, unless the reservation starts within the shift's deposit delay; a force insert under another shift's id still owes the payments of the shift whose hours hold `start_at`. A request that would skip a payment returns 422 `PAYMENT_REQUIRED`; `bypass_payments` waives it and requires `RESERVATIONS_FORCE_CONFIRM`, except with an operational `initial_status`. With `bypass_payments`, no deposit is taken and the products are recorded as paid on site (`FREE`): they still take stock. Reservation responses mask sensitive fields unless the key also has `RESERVATIONS_READ_SENSITIVE`. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations","href":"/api-reference/reservations/create-a-reservation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Requires \", _jsx(_components.code, {\n children: \"RESERVATIONS_WRITE\"\n }), \". Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. \", _jsx(_components.code, {\n children: \"products\"\n }), \" sells the shift’s formulas (\", _jsx(_components.code, {\n children: \"PREPAYMENT\"\n }), \") and add-ons (\", _jsx(_components.code, {\n children: \"EXTRA\"\n }), \"), listed by \", _jsx(_components.code, {\n children: \"GET /shifts/{id}/products\"\n }), \", with the booking portal’s rules: products sold to the booking’s prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 \", _jsx(_components.code, {\n children: \"PAYMENT_REQUIRED\"\n }), \", \", _jsx(_components.code, {\n children: \"details.reason: PREPAYMENT_REQUIRED\"\n }), \"). The day’s stock is checked again when the reservation is written: 409 \", _jsx(_components.code, {\n children: \"PRODUCT_CAPACITY_UNAVAILABLE\"\n }), \" when it ran out; \", _jsx(_components.code, {\n children: \"bypass_availability\"\n }), \" skips it. While the reservation awaits an online payment, the response carries \", _jsx(_components.code, {\n children: \"payment_url\"\n }), \" (with \", _jsx(_components.code, {\n children: \"RESERVATIONS_READ_SENSITIVE\"\n }), \"). \", _jsx(_components.code, {\n children: \"pms_reference\"\n }), \" links the reservation to a stay of the hotel’s PMS and marks a hotel guest. \", _jsx(_components.code, {\n children: \"external_id\"\n }), \", when provided, must be unique per restaurant and duplicate values return a conflict response. \", _jsx(_components.code, {\n children: \"customer\"\n }), \" takes either \", _jsx(_components.code, {\n children: \"{ id }\"\n }), \" to link an existing customer, or the customer’s details inline: the customer is then found or created in the same call (see \", _jsx(_components.code, {\n children: \"customer.on_match\"\n }), \"), no separate customer call needed. \", _jsx(_components.code, {\n children: \"customer\"\n }), \" may be set to \", _jsx(_components.code, {\n children: \"null\"\n }), \" to create an anonymous reservation with no linked customer, such as a walk-in. Without a \", _jsx(_components.code, {\n children: \"bypass_*\"\n }), \" flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. \", _jsx(_components.code, {\n children: \"bypass_availability\"\n }), \" is available only to credentials with the \", _jsx(_components.code, {\n children: \"RESERVATIONS_FORCE_INSERT\"\n }), \" scope and force-inserts the reservation without capacity validation, under any \", _jsx(_components.code, {\n children: \"shift_id\"\n }), \". The same \", _jsx(_components.code, {\n children: \"RESERVATIONS_FORCE_INSERT\"\n }), \" scope is also required when \", _jsx(_components.code, {\n children: \"initial_status\"\n }), \" is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. \", _jsx(_components.code, {\n children: \"bypass_approval\"\n }), \" is available only to credentials with the \", _jsx(_components.code, {\n children: \"RESERVATIONS_FORCE_CONFIRM\"\n }), \" scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift’s minimum party size, unless the reservation starts within the shift’s deposit delay; a force insert under another shift’s id still owes the payments of the shift whose hours hold \", _jsx(_components.code, {\n children: \"start_at\"\n }), \". A request that would skip a payment returns 422 \", _jsx(_components.code, {\n children: \"PAYMENT_REQUIRED\"\n }), \"; \", _jsx(_components.code, {\n children: \"bypass_payments\"\n }), \" waives it and requires \", _jsx(_components.code, {\n children: \"RESERVATIONS_FORCE_CONFIRM\"\n }), \", except with an operational \", _jsx(_components.code, {\n children: \"initial_status\"\n }), \". With \", _jsx(_components.code, {\n children: \"bypass_payments\"\n }), \", no deposit is taken and the products are recorded as paid on site (\", _jsx(_components.code, {\n children: \"FREE\"\n }), \"): they still take stock. Reservation responses mask sensitive fields unless the key also has \", _jsx(_components.code, {\n children: \"RESERVATIONS_READ_SENSITIVE\"\n }), \". See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a reservation","description":"Requires `RESERVATIONS_WRITE`. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. `products` sells the shift's formulas (`PREPAYMENT`) and add-ons (`EXTRA`), listed by `GET /shifts/{id}/products`, with the booking portal's rules: products sold to the booking's prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 `PAYMENT_REQUIRED`, `details.reason: PREPAYMENT_REQUIRED`). The day's stock is checked again when the reservation is written: 409 `PRODUCT_CAPACITY_UNAVAILABLE` when it ran out; `bypass_availability` skips it. While the reservation awaits an online payment, the response carries `payment_url` (with `RESERVATIONS_READ_SENSITIVE`). `pms_reference` links the reservation to a stay of the hotel's PMS and marks a hotel guest. `external_id`, when provided, must be unique per restaurant and duplicate values return a conflict response. `customer` takes either `{ id }` to link an existing customer, or the customer's details inline: the customer is then found or created in the same call (see `customer.on_match`), no separate customer call needed. `customer` may be set to `null` to create an anonymous reservation with no linked customer, such as a walk-in. Without a `bypass_*` flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. `bypass_availability` is available only to credentials with the `RESERVATIONS_FORCE_INSERT` scope and force-inserts the reservation without capacity validation, under any `shift_id`. The same `RESERVATIONS_FORCE_INSERT` scope is also required when `initial_status` is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. `bypass_approval` is available only to credentials with the `RESERVATIONS_FORCE_CONFIRM` scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift's minimum party size, unless the reservation starts within the shift's deposit delay; a force insert under another shift's id still owes the payments of the shift whose hours hold `start_at`. A request that would skip a payment returns 422 `PAYMENT_REQUIRED`; `bypass_payments` waives it and requires `RESERVATIONS_FORCE_CONFIRM`, except with an operational `initial_status`. With `bypass_payments`, no deposit is taken and the products are recorded as paid on site (`FREE`): they still take stock. Reservation responses mask sensitive fields unless the key also has `RESERVATIONS_READ_SENSITIVE`. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations","href":"/api-reference/reservations/create-a-reservation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createPartnerReservation","tags":["Reservations"],"summary":"Create a reservation","description":"Requires `RESERVATIONS_WRITE`. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. `products` sells the shift's formulas (`PREPAYMENT`) and add-ons (`EXTRA`), listed by `GET /shifts/{id}/products`, with the booking portal's rules: products sold to the booking's prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 `PAYMENT_REQUIRED`, `details.reason: PREPAYMENT_REQUIRED`). The day's stock is checked again when the reservation is written: 409 `PRODUCT_CAPACITY_UNAVAILABLE` when it ran out; `bypass_availability` skips it. While the reservation awaits an online payment, the response carries `payment_url` (with `RESERVATIONS_READ_SENSITIVE`). `pms_reference` links the reservation to a stay of the hotel's PMS and marks a hotel guest. `external_id`, when provided, must be unique per restaurant and duplicate values return a conflict response. `customer` takes either `{ id }` to link an existing customer, or the customer's details inline: the customer is then found or created in the same call (see `customer.on_match`), no separate customer call needed. `customer` may be set to `null` to create an anonymous reservation with no linked customer, such as a walk-in. Without a `bypass_*` flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. `bypass_availability` is available only to credentials with the `RESERVATIONS_FORCE_INSERT` scope and force-inserts the reservation without capacity validation, under any `shift_id`. The same `RESERVATIONS_FORCE_INSERT` scope is also required when `initial_status` is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. `bypass_approval` is available only to credentials with the `RESERVATIONS_FORCE_CONFIRM` scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift's minimum party size, unless the reservation starts within the shift's deposit delay; a force insert under another shift's id still owes the payments of the shift whose hours hold `start_at`. A request that would skip a payment returns 422 `PAYMENT_REQUIRED`; `bypass_payments` waives it and requires `RESERVATIONS_FORCE_CONFIRM`, except with an operational `initial_status`. With `bypass_payments`, no deposit is taken and the products are recorded as paid on site (`FREE`): they still take stock. Reservation responses mask sensitive fields unless the key also has `RESERVATIONS_READ_SENSITIVE`. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.","security":["b00e91a2-8f7d-454c-ac4d-64df694997c5"],"requestBody":"f0b93b8d-baf4-4e69-90c2-987d449c2fcc","responses":{"201":"748fe8cd-e151-47a0-8962-e9db33bd7449","400":"04a9bdc2-c653-420e-a881-91a54b8f9c73","401":"ea756ba4-f616-4a3b-997a-cf5f7f481bff","403":"2ac8b397-a325-4577-a1e9-e17b11116121","409":"c694d4fb-0915-421f-9432-bcb57323869b","422":"ce2c6e6a-baff-4a3f-ae04-edf41b4b093f","429":"49704781-30e1-45d7-84c1-bfa989155ed1","500":"0183924f-0297-4229-9080-e6dfa80d6211"},"method":"post","type":"path","servers":["3a2f7e3f-7bfc-422b-9ff7-5e8a21595bec"],"path":"/api/partner/v1/reservations","baseUrlOptions":["https://app.eat-now.io"],"title":"Create a reservation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"description":"Reservation creation payload for standard bookings, force inserts, or operational walk-ins.","content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"oneOf":[{"type":"object","description":"Customer of the reservation. Pass `{ id }` to link an existing customer, or the customer's details inline to find or create the customer in the same call (see `on_match`); no separate customer call is needed. Use `null` to create an anonymous reservation with no linked customer, such as a walk-in.","required":["id"],"properties":{"id":{"type":"string","minLength":1,"description":"Identifier of an existing customer of the restaurant, as returned by the customers endpoints.","isRequired":true,"uniqueKey":"customer.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"customer.oneOf.0","typeLabel":"object"},{"type":"object","description":"Customer of the reservation. Pass `{ id }` to link an existing customer, or the customer's details inline to find or create the customer in the same call (see `on_match`); no separate customer call is needed. Use `null` to create an anonymous reservation with no linked customer, such as a walk-in.","required":["name"],"properties":{"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"customer.oneOf.1.name","typeLabel":"string"},"email":{"oneOf":[{"type":"string","format":"email","default":null,"uniqueKey":"customer.oneOf.1.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","default":null,"uniqueKey":"customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.oneOf.1.email","typeLabel":"string\u003cemail> | null"},"phone_number":{"oneOf":[{"type":"string","default":null,"uniqueKey":"customer.oneOf.1.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","default":null,"uniqueKey":"customer.oneOf.1.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.oneOf.1.phone_number","typeLabel":"string | null"},"lang":{"type":"string","enum":["FR","EN","IT","ES","DE","PT"],"uniqueKey":"customer.oneOf.1.lang","typeLabel":"enum\u003cstring>"},"newsletter_consent":{"type":"boolean","uniqueKey":"customer.oneOf.1.newsletter_consent","typeLabel":"boolean"},"on_match":{"type":"string","enum":["return_existing","update","create_new"],"description":"Matching behaviour for this reservation's customer (matched on phone, then email). When omitted, the restaurant's own setting applies: match an existing customer (`return_existing`) unless the restaurant turned automatic matching off (`create_new`). A blacklisted match rejects the reservation whatever the value. Ignored when `prescriber_id` is set: a prescribed booking always gets its own customer.","uniqueKey":"customer.oneOf.1.on_match","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"customer.oneOf.1","typeLabel":"object"},{"description":"Customer of the reservation. Pass `{ id }` to link an existing customer, or the customer's details inline to find or create the customer in the same call (see `on_match`); no separate customer call is needed. Use `null` to create an anonymous reservation with no linked customer, such as a walk-in.","isRequired":true,"uniqueKey":"customer.oneOf.2","typeLabel":"any"},{"type":"null","description":"Customer of the reservation. Pass `{ id }` to link an existing customer, or the customer's details inline to find or create the customer in the same call (see `on_match`); no separate customer call is needed. Use `null` to create an anonymous reservation with no linked customer, such as a walk-in.","isRequired":true,"uniqueKey":"customer.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer","typeLabel":"object · object · any · null"},"party_size":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"party_size","typeLabel":"integer"},"start_at":{"type":"string","format":"date-time","description":"Reservation start datetime in the restaurant timezone, including offset.","isRequired":true,"uniqueKey":"start_at","typeLabel":"string\u003cdate-time>"},"shift_id":{"type":"string","minLength":1,"description":"Optional shift identifier. When omitted, the system resolves the shift from `start_at`. When provided, the shift must cover `start_at`, unless `bypass_availability` is true.","uniqueKey":"shift_id","typeLabel":"string"},"room_id":{"type":"string","minLength":1,"description":"Optional room identifier to target during booking.","uniqueKey":"room_id","typeLabel":"string"},"table_ids":{"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"table_ids.items.[INDEX]","typeLabel":"string"},"description":"Optional table identifiers to assign at creation.","uniqueKey":"table_ids","typeLabel":"string[]"},"waiter_id":{"type":"string","minLength":1,"uniqueKey":"waiter_id","typeLabel":"string"},"external_id":{"type":"string","minLength":1,"description":"Optional partner reference. When provided, it must be unique per restaurant.","uniqueKey":"external_id","typeLabel":"string"},"source":{"type":"string","enum":["WALK_IN","WEBSITE","PHONE","EMAIL","RESERVE_WITH_GOOGLE","TRAVEL_AGENCIES","OTHER","INSTAGRAM","FACEBOOK","TIKTOK","SNAPCHAT","WHATSAPP","TRIPADVISOR","PRIVATIZATION","MISSED_CALL"],"description":"Optional reservation source. Defaults to `WEBSITE`.","uniqueKey":"source","typeLabel":"enum\u003cstring>"},"prescriber_id":{"type":"string","minLength":1,"uniqueKey":"prescriber_id","typeLabel":"string"},"discount_id":{"type":"string","minLength":1,"uniqueKey":"discount_id","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"tags","typeLabel":"string[]"},"attached_files":{"type":"array","items":{"type":"string","uniqueKey":"attached_files.items.[INDEX]","typeLabel":"string"},"uniqueKey":"attached_files","typeLabel":"string[]"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.value.oneOf.1","typeLabel":"number"},{"type":"boolean","isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.value.oneOf.2","typeLabel":"boolean"},{"isRequired":true},{"type":"null","isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.value.oneOf.4","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.value.oneOf.5.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.value.oneOf.5","typeLabel":"string[]"}],"isRequired":true,"uniqueKey":"metadata.oneOf.0.additionalProperties.value","typeLabel":"string | number | boolean | null | string[]"}},"required":["name","value"],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties.name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties.value.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.oneOf.1.additionalProperties.value.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.1.additionalProperties.value.oneOf.2","typeLabel":"boolean"},{},{"type":"null","uniqueKey":"metadata.oneOf.1.additionalProperties.value.oneOf.4","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties.value.oneOf.5.items.[INDEX]","typeLabel":"string"},"uniqueKey":"metadata.oneOf.1.additionalProperties.value.oneOf.5","typeLabel":"string[]"}],"uniqueKey":"metadata.oneOf.1.additionalProperties.value","typeLabel":"string | number | boolean | null | string[]"}},"required":["name","value"],"uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"object"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"allergies":{"oneOf":[{"type":"string","description":"Guest-facing note, such as allergies or special requests.","uniqueKey":"allergies.oneOf.0","typeLabel":"string"},{"type":"null","description":"Guest-facing note, such as allergies or special requests.","uniqueKey":"allergies.oneOf.1","typeLabel":"null"}],"uniqueKey":"allergies","typeLabel":"string | null"},"custom_message":{"oneOf":[{"type":"string","description":"Internal staff note stored on the reservation.","uniqueKey":"custom_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Internal staff note stored on the reservation.","uniqueKey":"custom_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_message","typeLabel":"string | null"},"total_amount_paid":{"oneOf":[{"type":"integer","minimum":0,"description":"Optional total amount already paid for the reservation, expressed in the smallest currency unit used by the restaurant, for example cents.","uniqueKey":"total_amount_paid.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Optional total amount already paid for the reservation, expressed in the smallest currency unit used by the restaurant, for example cents.","uniqueKey":"total_amount_paid.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_amount_paid","typeLabel":"integer | null"},"products":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["PREPAYMENT","EXTRA"],"description":"`PREPAYMENT`: a formula of the shift; `EXTRA`: an add-on (see `GET /shifts/{id}/products`).","isRequired":true,"uniqueKey":"products.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"product_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"products.items.[INDEX].product_id","typeLabel":"string"},"variant_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"products.items.[INDEX].variant_id","typeLabel":"string"},"quantity":{"type":"integer","minimum":1,"maximum":100,"description":"Units of the variant. A product not sold per guest is booked once (1); per guest, never more units than guests.","isRequired":true,"uniqueKey":"products.items.[INDEX].quantity","typeLabel":"integer"}},"required":["type","product_id","variant_id","quantity"],"additionalProperties":false,"uniqueKey":"products.items.[INDEX]","typeLabel":"object"},"maxItems":20,"description":"What the guest buys with the reservation, as on the booking portal: the shift's formulas (required when the shift makes a prepayment mandatory) and add-ons, checked against the shift (sold to this booking, variant fitting the party, booking ahead, stock of the day). Paid online for their share when a payment provider is connected (the reservation then awaits payment), else on site.","uniqueKey":"products","typeLabel":"object[]"},"bypass_payments":{"type":"boolean","default":false,"description":"When false, the reservation keeps the shift's payment terms, as on the booking portal: a request that would skip one is rejected with `PAYMENT_REQUIRED`. When true, nothing is collected: no deposit, and the `products` are recorded as paid on site. Waiving a payment the shift or the products require needs the `RESERVATIONS_FORCE_CONFIRM` scope, except with an operational `initial_status`.","uniqueKey":"bypass_payments","typeLabel":"boolean"},"bypass_availability":{"type":"boolean","default":false,"description":"When true, skips availability and capacity validation, and accepts a `shift_id` whose hours do not cover `start_at`. This requires the `RESERVATIONS_FORCE_INSERT` scope and marks the reservation as force inserted. It waives no payment: the shift whose hours hold `start_at` still sets them unless `bypass_payments` is true.","uniqueKey":"bypass_availability","typeLabel":"boolean"},"bypass_approval":{"type":"boolean","default":false,"description":"When true, bypasses manual staff approval for shifts that normally create pending reservations. This requires the `RESERVATIONS_FORCE_CONFIRM` scope.","uniqueKey":"bypass_approval","typeLabel":"boolean"},"initial_status":{"type":"string","enum":["PENDING","CONFIRMED","CONFIRMED_PENDING_PAYMENT","SHOWED_UP","SEATED","PARTIALLY_SEATED","SEATED_FOR_DRINKS"],"description":"Optional privileged create-time status override. When provided, this requires the `RESERVATIONS_FORCE_INSERT` scope and is validated against payment and manual-approval rules.","uniqueKey":"initial_status","typeLabel":"enum\u003cstring>"},"send_client_notifications":{"type":"boolean","default":true,"description":"When false, customer email and WhatsApp notifications are suppressed. Restaurant-side notifications still run.","uniqueKey":"send_client_notifications","typeLabel":"boolean"},"send_payment_link":{"type":"boolean","default":true,"description":"Controls delayed payment-link delivery for what the reservation owes online (deposit, products). Ignored when payments are bypassed or nothing is owed online. Without it, settle the payments before their deadline (`payment_url`, or the payment writes): an unpaid reservation is cancelled when its deadline passes.","uniqueKey":"send_payment_link","typeLabel":"boolean"},"is_hotel_guest":{"type":"boolean","description":"False clears the room and unlinks the stay. A room or a PMS reference implies true.","uniqueKey":"is_hotel_guest","typeLabel":"boolean"},"hotel_room_number":{"oneOf":[{"type":"string","maxLength":20,"description":"Another room than the linked stay's unlinks the stay (the room no longer comes from the PMS).","uniqueKey":"hotel_room_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":20,"description":"Another room than the linked stay's unlinks the stay (the room no longer comes from the PMS).","uniqueKey":"hotel_room_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"hotel_room_number","typeLabel":"string | null"},"pms_reference":{"oneOf":[{"type":"object","properties":{"stay_id":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"pms_reference.oneOf.0.stay_id","typeLabel":"string"}},"required":["stay_id"],"description":"The stay in the hotel's property management system (PMS), when the visit is linked to one. Read: null without the sensitive view. Write: links the visit to a PMS stay; null unlinks it.","uniqueKey":"pms_reference.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"stay_id":{"type":"string","minLength":1,"maxLength":128}},"required":["stay_id"],"description":"The stay in the hotel's property management system (PMS), when the visit is linked to one. Read: null without the sensitive view. Write: links the visit to a PMS stay; null unlinks it.","uniqueKey":"pms_reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"pms_reference","typeLabel":"object | null"}},"required":["customer","party_size","start_at"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"depositFlow":{"title":"depositFlow","summary":"Create with inferred deposit","value":{"customer":{"name":"Jane Doe","email":"jane@example.com","phone_number":"+33612345678","lang":"FR"},"party_size":4,"start_at":"2026-04-08T19:15:00+01:00","shift_id":"shift_dinner","external_id":"partner-booking-123","source":"WEBSITE","tags":["vip"],"allergies":"Peanuts","custom_message":"Seat near the window","total_amount_paid":12000,"bypass_payments":false,"bypass_availability":false,"bypass_approval":false,"send_client_notifications":true,"send_payment_link":true}},"bypassPayments":{"title":"bypassPayments","summary":"Create while bypassing payments and customer notifications","value":{"customer":{"name":"John Smith","email":"john@example.com"},"party_size":2,"start_at":"2026-04-08T20:00:00+01:00","external_id":"partner-booking-456","bypass_payments":true,"bypass_availability":true,"bypass_approval":true,"send_client_notifications":false,"send_payment_link":false}},"posWalkIn":{"title":"posWalkIn","summary":"Create an anonymous POS walk-in directly as seated","value":{"customer":null,"party_size":2,"start_at":"2026-04-08T20:00:00+01:00","source":"WALK_IN","bypass_payments":true,"bypass_approval":true,"initial_status":"SEATED","send_client_notifications":false,"send_payment_link":false}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"748fe8cd-e151-47a0-8962-e9db33bd7449":{"description":"Reservation created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"external_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.external_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.external_id","typeLabel":"string | null"},"status":{"type":"string","enum":["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"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"start_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"Planned end of the stay in the restaurant timezone: the stay frozen by the shift's strict end of service when there is one, else the shift's average duration for the party size. Null when the reservation has no shift.","isRequired":true,"uniqueKey":"data.end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Planned end of the stay in the restaurant timezone: the stay frozen by the shift's strict end of service when there is one, else the shift's average duration for the party size. Null when the reservation has no shift.","isRequired":true,"uniqueKey":"data.end_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.end_at","typeLabel":"string\u003cdate-time> | null"},"duration_minutes":{"oneOf":[{"type":"integer","minimum":1,"description":"Planned stay in minutes (see `end_at`). Shorter than the shift's average duration when the strict end of service clipped it.","isRequired":true,"uniqueKey":"data.duration_minutes.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Planned stay in minutes (see `end_at`). Shorter than the shift's average duration when the strict end of service clipped it.","isRequired":true,"uniqueKey":"data.duration_minutes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.duration_minutes","typeLabel":"integer | null"},"party_size":{"type":"integer","minimum":0,"description":"Number of covers. Can be 0 for a walk-in recorded without covers.","isRequired":true,"uniqueKey":"data.party_size","typeLabel":"integer"},"source":{"type":"string","enum":["WALK_IN","WEBSITE","PHONE","EMAIL","RESERVE_WITH_GOOGLE","TRAVEL_AGENCIES","OTHER","INSTAGRAM","FACEBOOK","TIKTOK","SNAPCHAT","WHATSAPP","TRIPADVISOR","PRIVATIZATION","MISSED_CALL"],"isRequired":true,"uniqueKey":"data.source","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"customer":{"oneOf":[{"type":"object","properties":{"id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.customer.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.customer.oneOf.0.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","isRequired":true,"uniqueKey":"data.customer.oneOf.0.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","isRequired":true,"uniqueKey":"data.customer.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.email","typeLabel":"string\u003cemail> | null"},"phone_number":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.customer.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.customer.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.phone_number","typeLabel":"string | null"},"lang":{"oneOf":[{"type":"string","enum":["FR","EN","IT","ES","DE","PT",null],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.lang.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["FR","EN","IT","ES","DE","PT",null],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.lang.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customer.oneOf.0.lang","typeLabel":"enum\u003cstring> | null"}},"required":["id","name","email","phone_number","lang"],"isRequired":true,"uniqueKey":"data.customer.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"oneOf":[{"type":"string"},{"type":"null"}]},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"email":{"oneOf":[{"type":"string","format":"email"},{"type":"null","format":"email"}]},"phone_number":{"oneOf":[{"type":"string"},{"type":"null"}]},"lang":{"oneOf":[{"type":"string","enum":["FR","EN","IT","ES","DE","PT",null]},{"type":"null","enum":["FR","EN","IT","ES","DE","PT",null]}]}},"required":["id","name","email","phone_number","lang"],"isRequired":true,"uniqueKey":"data.customer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customer","typeLabel":"object | null"},"room":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.room.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.room.oneOf.0.name","typeLabel":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.room.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.room.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.room","typeLabel":"object | null"},"tables":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.tables.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.tables.items.[INDEX].name","typeLabel":"string"},"min_pax":{"type":"integer","isRequired":true,"uniqueKey":"data.tables.items.[INDEX].min_pax","typeLabel":"integer"},"max_pax":{"type":"integer","isRequired":true,"uniqueKey":"data.tables.items.[INDEX].max_pax","typeLabel":"integer"}},"required":["id","name","min_pax","max_pax"],"uniqueKey":"data.tables.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.tables","typeLabel":"object[]"},"waiter":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.waiter.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.waiter.oneOf.0.name","typeLabel":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.waiter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.waiter.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.waiter","typeLabel":"object | null"},"shift":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.shift.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.shift.oneOf.0.name","typeLabel":"string"},"start_time":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.shift.oneOf.0.start_time.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.shift.oneOf.0.start_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.shift.oneOf.0.start_time","typeLabel":"string | null"},"end_time":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.shift.oneOf.0.end_time.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.shift.oneOf.0.end_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.shift.oneOf.0.end_time","typeLabel":"string | null"}},"required":["id","name","start_time","end_time"],"isRequired":true,"uniqueKey":"data.shift.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"},"start_time":{"oneOf":[{"type":"string"},{"type":"null"}]},"end_time":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","start_time","end_time"],"isRequired":true,"uniqueKey":"data.shift.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.shift","typeLabel":"object | null"},"discount":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.discount.oneOf.0.id","typeLabel":"string"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.discount.oneOf.0.value","typeLabel":"number"},"message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.discount.oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.discount.oneOf.0.message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.discount.oneOf.0.message","typeLabel":"string | null"}},"required":["id","value","message"],"isRequired":true,"uniqueKey":"data.discount.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"value":{"type":"number"},"message":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","value","message"],"isRequired":true,"uniqueKey":"data.discount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.discount","typeLabel":"object | null"},"prescriber":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.prescriber.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.prescriber.oneOf.0.name","typeLabel":"string"},"phone_number":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.prescriber.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.prescriber.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.prescriber.oneOf.0.phone_number","typeLabel":"string | null"}},"required":["id","name","phone_number"],"isRequired":true,"uniqueKey":"data.prescriber.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"},"phone_number":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","phone_number"],"isRequired":true,"uniqueKey":"data.prescriber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.prescriber","typeLabel":"object | null"},"custom_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.custom_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.custom_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.custom_message","typeLabel":"string | null"},"allergies":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.allergies.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.allergies.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.allergies","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.value.oneOf.1","typeLabel":"number"},{"type":"boolean","isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.value.oneOf.2","typeLabel":"boolean"},{"isRequired":true},{"type":"null","isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.value.oneOf.4","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"data.metadata.oneOf.0.additionalProperties.value.oneOf.5.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.value.oneOf.5","typeLabel":"string[]"}],"isRequired":true,"uniqueKey":"data.metadata.oneOf.0.additionalProperties.value","typeLabel":"string | number | boolean | null | string[]"}},"required":["name","value"],"uniqueKey":"data.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"data.metadata.oneOf.1.additionalProperties.name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","uniqueKey":"data.metadata.oneOf.1.additionalProperties.value.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"data.metadata.oneOf.1.additionalProperties.value.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.metadata.oneOf.1.additionalProperties.value.oneOf.2","typeLabel":"boolean"},{},{"type":"null","uniqueKey":"data.metadata.oneOf.1.additionalProperties.value.oneOf.4","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"data.metadata.oneOf.1.additionalProperties.value.oneOf.5.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.metadata.oneOf.1.additionalProperties.value.oneOf.5","typeLabel":"string[]"}],"uniqueKey":"data.metadata.oneOf.1.additionalProperties.value","typeLabel":"string | number | boolean | null | string[]"}},"required":["name","value"],"uniqueKey":"data.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metadata","typeLabel":"object | null"},"feedback":{"oneOf":[{"type":"object","properties":{"rating":{"type":"integer","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.rating","typeLabel":"integer"},"comment":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.comment.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.comment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.feedback.oneOf.0.comment","typeLabel":"string | null"},"answer":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.answer.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.answer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.feedback.oneOf.0.answer","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"answered_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.answered_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.feedback.oneOf.0.answered_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.feedback.oneOf.0.answered_at","typeLabel":"string\u003cdate-time> | null"}},"required":["rating","comment","answer","created_at","answered_at"],"isRequired":true,"uniqueKey":"data.feedback.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"rating":{"type":"integer"},"comment":{"oneOf":[{"type":"string"},{"type":"null"}]},"answer":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"answered_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"required":["rating","comment","answer","created_at","answered_at"],"isRequired":true,"uniqueKey":"data.feedback.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.feedback","typeLabel":"object | null"},"cancellation_reason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.cancellation_reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.cancellation_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.cancellation_reason","typeLabel":"string | null"},"attached_files":{"type":"array","items":{"type":"string","uniqueKey":"data.attached_files.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.attached_files","typeLabel":"string[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"data.tags.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.tags","typeLabel":"string[]"},"send_followup_email":{"type":"boolean","isRequired":true,"uniqueKey":"data.send_followup_email","typeLabel":"boolean"},"is_table_definitive":{"type":"boolean","isRequired":true,"uniqueKey":"data.is_table_definitive","typeLabel":"boolean"},"is_force_inserted":{"type":"boolean","isRequired":true,"uniqueKey":"data.is_force_inserted","typeLabel":"boolean"},"total_amount_paid":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.total_amount_paid.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.total_amount_paid.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.total_amount_paid","typeLabel":"integer | null"},"payment_summary":{"type":"object","properties":{"currency":{"oneOf":[{"type":"string","enum":["MAD","EUR","USD","XOF",null],"isRequired":true,"uniqueKey":"data.payment_summary.currency.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MAD","EUR","USD","XOF",null],"isRequired":true,"uniqueKey":"data.payment_summary.currency.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payment_summary.currency","typeLabel":"enum\u003cstring> | null"},"total_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payment_summary.total_amount","typeLabel":"integer"},"paid_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payment_summary.paid_amount","typeLabel":"integer"},"gift_card_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payment_summary.gift_card_amount","typeLabel":"integer"},"authorized_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payment_summary.authorized_amount","typeLabel":"integer"},"pending_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payment_summary.pending_amount","typeLabel":"integer"},"refunded_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payment_summary.refunded_amount","typeLabel":"integer"},"statuses":{"type":"array","items":{"type":"string","enum":["FREE","PENDING","PAID","EXPIRED","REFUNDED","CANCELED","AUTHORIZED","CAPTURED","CAPTURE_FAILED","VOIDED","DECLINED"],"uniqueKey":"data.payment_summary.statuses.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"data.payment_summary.statuses","typeLabel":"enum\u003cstring>[]"}},"required":["currency","total_amount","paid_amount","gift_card_amount","authorized_amount","pending_amount","refunded_amount","statuses"],"isRequired":true,"uniqueKey":"data.payment_summary","typeLabel":"object"},"payments":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].id","typeLabel":"string"},"provider_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].provider_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].provider_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].provider_id","typeLabel":"string | null"},"payment_type":{"type":"string","enum":["DEPOSIT","PREPAYMENT","EXTRA","NO_SHOW_FEE","GIFT_CARD"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].payment_type","typeLabel":"enum\u003cstring>"},"payment_mode":{"type":"string","enum":["SOFT_PREAUTH","PREAUTH","POSTAUTH"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"enum\u003cstring>"},"provider":{"type":"string","enum":["PAYZONE","CMI","STRIPE","CASH","WIRE_TRANSFER","DEBTOR","CREDIT_CARD","PARTNER","ROOM_CHARGE","GIFT_CARD"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].provider","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["FREE","PENDING","PAID","EXPIRED","REFUNDED","CANCELED","AUTHORIZED","CAPTURED","CAPTURE_FAILED","VOIDED","DECLINED"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].amount","typeLabel":"integer"},"gift_card_amount":{"type":"integer","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].gift_card_amount","typeLabel":"integer"},"quantity":{"type":"integer","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].quantity","typeLabel":"integer"},"unit_price":{"type":"integer","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].unit_price","typeLabel":"integer"},"percent_of_total":{"type":"number","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].percent_of_total","typeLabel":"number"},"currency":{"type":"string","enum":["MAD","EUR","USD","XOF"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"is_refundable":{"type":"boolean","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].is_refundable","typeLabel":"boolean"},"external_reference":{"oneOf":[{"type":"string","description":"Reference of money taken outside EatNow (provider `PARTNER`): the partner's payment or order id.","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].external_reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference of money taken outside EatNow (provider `PARTNER`): the partner's payment or order id.","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].external_reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].external_reference","typeLabel":"string | null"},"expiration_date":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].expiration_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].expiration_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].expiration_date","typeLabel":"string\u003cdate-time> | null"},"max_cancellation_date":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].max_cancellation_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].max_cancellation_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].max_cancellation_date","typeLabel":"string\u003cdate-time> | null"},"authorized_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].authorized_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].authorized_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].authorized_at","typeLabel":"string\u003cdate-time> | null"},"capture_deadline":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].capture_deadline.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].capture_deadline.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].capture_deadline","typeLabel":"string\u003cdate-time> | null"},"captured_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].captured_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].captured_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].captured_at","typeLabel":"string\u003cdate-time> | null"},"voided_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].voided_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].voided_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].voided_at","typeLabel":"string\u003cdate-time> | null"},"linked_product":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_product.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_product.oneOf.0.name","typeLabel":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_product.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_product.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_product","typeLabel":"object | null"},"linked_variant":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_variant.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_variant.oneOf.0.name","typeLabel":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_variant.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_variant.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].linked_variant","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"required":["id","provider_id","payment_type","payment_mode","provider","status","amount","gift_card_amount","quantity","unit_price","percent_of_total","currency","is_refundable","external_reference","expiration_date","max_cancellation_date","authorized_at","capture_deadline","captured_at","voided_at","linked_product","linked_variant","created_at","updated_at"],"uniqueKey":"data.payments.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.payments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"id":{"type":"string"},"provider_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"payment_type":{"type":"string","enum":["DEPOSIT","PREPAYMENT","EXTRA","NO_SHOW_FEE","GIFT_CARD"]},"payment_mode":{"type":"string","enum":["SOFT_PREAUTH","PREAUTH","POSTAUTH"]},"provider":{"type":"string","enum":["PAYZONE","CMI","STRIPE","CASH","WIRE_TRANSFER","DEBTOR","CREDIT_CARD","PARTNER","ROOM_CHARGE","GIFT_CARD"]},"status":{"type":"string","enum":["FREE","PENDING","PAID","EXPIRED","REFUNDED","CANCELED","AUTHORIZED","CAPTURED","CAPTURE_FAILED","VOIDED","DECLINED"]},"amount":{"type":"integer"},"gift_card_amount":{"type":"integer"},"quantity":{"type":"integer"},"unit_price":{"type":"integer"},"percent_of_total":{"type":"number"},"currency":{"type":"string","enum":["MAD","EUR","USD","XOF"]},"is_refundable":{"type":"boolean"},"external_reference":{"oneOf":[{"type":"string","description":"Reference of money taken outside EatNow (provider `PARTNER`): the partner's payment or order id."},{"type":"null","description":"Reference of money taken outside EatNow (provider `PARTNER`): the partner's payment or order id."}]},"expiration_date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"max_cancellation_date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"authorized_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"capture_deadline":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"captured_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"voided_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"linked_product":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}]},"linked_variant":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","provider_id","payment_type","payment_mode","provider","status","amount","gift_card_amount","quantity","unit_price","percent_of_total","currency","is_refundable","external_reference","expiration_date","max_cancellation_date","authorized_at","capture_deadline","captured_at","voided_at","linked_product","linked_variant","created_at","updated_at"]},"isRequired":true,"uniqueKey":"data.payments.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payments","typeLabel":"object[] | null"},"seated_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.seated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.seated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.seated_at","typeLabel":"string\u003cdate-time> | null"},"left_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.left_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.left_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.left_at","typeLabel":"string\u003cdate-time> | null"},"is_hotel_guest":{"type":"boolean","description":"The guest stays at the hotel the restaurant belongs to.","isRequired":true,"uniqueKey":"data.is_hotel_guest","typeLabel":"boolean"},"hotel_room_number":{"oneOf":[{"type":"string","description":"Null without `RESERVATIONS_READ_SENSITIVE`.","isRequired":true,"uniqueKey":"data.hotel_room_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null without `RESERVATIONS_READ_SENSITIVE`.","isRequired":true,"uniqueKey":"data.hotel_room_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.hotel_room_number","typeLabel":"string | null"},"pms_reference":{"oneOf":[{"type":"object","properties":{"stay_id":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"data.pms_reference.oneOf.0.stay_id","typeLabel":"string"}},"required":["stay_id"],"description":"The stay in the hotel's property management system (PMS), when the visit is linked to one. Read: null without the sensitive view. Write: links the visit to a PMS stay; null unlinks it.","isRequired":true,"uniqueKey":"data.pms_reference.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"stay_id":{"type":"string","minLength":1,"maxLength":128}},"required":["stay_id"],"description":"The stay in the hotel's property management system (PMS), when the visit is linked to one. Read: null without the sensitive view. Write: links the visit to a PMS stay; null unlinks it.","isRequired":true,"uniqueKey":"data.pms_reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.pms_reference","typeLabel":"object | null"},"sensitive_data_included":{"type":"boolean","isRequired":true,"uniqueKey":"data.sensitive_data_included","typeLabel":"boolean"},"payment_url":{"oneOf":[{"type":"string","description":"The portal page where the guest pays what is still owed, while the reservation awaits an online payment; `null` otherwise or without `RESERVATIONS_READ_SENSITIVE`. Its token also lets the bearer confirm, modify or cancel the reservation, like the link of the payment e-mail. In API answers only, never in webhooks.","uniqueKey":"data.payment_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The portal page where the guest pays what is still owed, while the reservation awaits an online payment; `null` otherwise or without `RESERVATIONS_READ_SENSITIVE`. Its token also lets the bearer confirm, modify or cancel the reservation, like the link of the payment e-mail. In API answers only, never in webhooks.","uniqueKey":"data.payment_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.payment_url","typeLabel":"string | null"}},"required":["id","external_id","status","start_at","end_at","duration_minutes","party_size","source","created_at","updated_at","customer","room","tables","waiter","shift","discount","prescriber","custom_message","allergies","metadata","feedback","cancellation_reason","attached_files","tags","send_followup_email","is_table_definitive","is_force_inserted","total_amount_paid","payment_summary","payments","seated_at","left_at","is_hotel_guest","hotel_room_number","pms_reference","sensitive_data_included"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","external_id":"\u003cstring>","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":"\u003cstring>","name":"\u003cstring>","email":"jsmith@example.com","phone_number":"\u003cstring>","lang":"FR"},"room":{"id":"\u003cstring>","name":"\u003cstring>"},"tables":[{"id":"\u003cstring>","name":"\u003cstring>","min_pax":123,"max_pax":123}],"waiter":{"id":"\u003cstring>","name":"\u003cstring>"},"shift":{"id":"\u003cstring>","name":"\u003cstring>","start_time":"\u003cstring>","end_time":"\u003cstring>"},"discount":{"id":"\u003cstring>","value":123,"message":"\u003cstring>"},"prescriber":{"id":"\u003cstring>","name":"\u003cstring>","phone_number":"\u003cstring>"},"custom_message":"\u003cstring>","allergies":"\u003cstring>","metadata":{},"feedback":{"rating":123,"comment":"\u003cstring>","answer":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","answered_at":"2023-11-07T05:31:56Z"},"cancellation_reason":"\u003cstring>","attached_files":["\u003cstring>"],"tags":["\u003cstring>"],"send_followup_email":true,"is_table_definitive":true,"is_force_inserted":true,"total_amount_paid":123,"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"]},"payments":[{"id":"\u003cstring>","provider_id":"\u003cstring>","payment_type":"DEPOSIT","payment_mode":"SOFT_PREAUTH","provider":"PAYZONE","status":"FREE","amount":123,"gift_card_amount":123,"quantity":123,"unit_price":123,"percent_of_total":123,"currency":"MAD","is_refundable":true,"external_reference":"\u003cstring>","expiration_date":"2023-11-07T05:31:56Z","max_cancellation_date":"2023-11-07T05:31:56Z","authorized_at":"2023-11-07T05:31:56Z","capture_deadline":"2023-11-07T05:31:56Z","captured_at":"2023-11-07T05:31:56Z","voided_at":"2023-11-07T05:31:56Z","linked_product":{"id":"\u003cstring>","name":"\u003cstring>"},"linked_variant":{"id":"\u003cstring>","name":"\u003cstring>"},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}],"seated_at":"2023-11-07T05:31:56Z","left_at":"2023-11-07T05:31:56Z","is_hotel_guest":true,"hotel_room_number":"\u003cstring>","pms_reference":{"stay_id":"\u003cstring>"},"sensitive_data_included":true,"payment_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"04a9bdc2-c653-420e-a881-91a54b8f9c73":{"description":"Request validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["AUTHENTICATION_REQUIRED","INVALID_AUTHENTICATION","INSUFFICIENT_SCOPE","FEATURE_NOT_ENABLED","RESTAURANT_SUSPENDED","VALIDATION_ERROR","RESOURCE_NOT_FOUND","RESOURCE_CONFLICT","PAYMENT_REQUIRED","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"null"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","request_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"\u003cstring>","request_id":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"ea756ba4-f616-4a3b-997a-cf5f7f481bff":{"description":"Authentication failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["AUTHENTICATION_REQUIRED","INVALID_AUTHENTICATION","INSUFFICIENT_SCOPE","FEATURE_NOT_ENABLED","RESTAURANT_SUSPENDED","VALIDATION_ERROR","RESOURCE_NOT_FOUND","RESOURCE_CONFLICT","PAYMENT_REQUIRED","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"null"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","request_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"\u003cstring>","request_id":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"2ac8b397-a325-4577-a1e9-e17b11116121":{"description":"Scope is insufficient, including when bypass_availability or initial_status is requested without the RESERVATIONS_FORCE_INSERT scope, or bypass_approval, or bypass_payments on a shift that asks for a payment, is requested without the RESERVATIONS_FORCE_CONFIRM scope.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["AUTHENTICATION_REQUIRED","INVALID_AUTHENTICATION","INSUFFICIENT_SCOPE","FEATURE_NOT_ENABLED","RESTAURANT_SUSPENDED","VALIDATION_ERROR","RESOURCE_NOT_FOUND","RESOURCE_CONFLICT","PAYMENT_REQUIRED","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"null"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","request_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"\u003cstring>","request_id":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c694d4fb-0915-421f-9432-bcb57323869b":{"description":"Conflict. The provided external_id is already used by another reservation in the same restaurant, or the day's stock of a product ran out (`details.reason: PRODUCT_CAPACITY_UNAVAILABLE`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["AUTHENTICATION_REQUIRED","INVALID_AUTHENTICATION","INSUFFICIENT_SCOPE","FEATURE_NOT_ENABLED","RESTAURANT_SUSPENDED","VALIDATION_ERROR","RESOURCE_NOT_FOUND","RESOURCE_CONFLICT","PAYMENT_REQUIRED","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"null"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","request_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"duplicateExternalId":{"title":"duplicateExternalId","summary":"Duplicate external_id","value":{"error":{"code":"RESOURCE_CONFLICT","message":"external_id must be unique per restaurant and is already in use","request_id":"7d8e6350-b815-4ac9-bfc3-57c6d2e7d8fa"}}}},"exampleType":"examples"}},"exampleType":"examples"},"ce2c6e6a-baff-4a3f-ae04-edf41b4b093f":{"description":"Business-rule validation failed: `VALIDATION_ERROR` when the slot is not bookable or a product is refused (`details.reason`: `PRODUCT_NOT_AVAILABLE`, `VARIANT_NOT_AVAILABLE`, `PRODUCT_MINIMUM_DELAY`, `PREPAYMENT_COVERAGE_REQUIRED`, `DUPLICATE_PRODUCT_LINE`, `SINGLE_PER_BOOKING`, `MORE_THAN_PARTY`, `PAYMENT_MIX_UNSUPPORTED`), or `PAYMENT_REQUIRED` when the request would skip a payment the shift asks for (a deposit under a non-pending `initial_status`, a mandatory formula not sent — `details.reason: PREPAYMENT_REQUIRED` —, a force insert under a free shift's id). Retry with `bypass_payments: true` to waive it.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["AUTHENTICATION_REQUIRED","INVALID_AUTHENTICATION","INSUFFICIENT_SCOPE","FEATURE_NOT_ENABLED","RESTAURANT_SUSPENDED","VALIDATION_ERROR","RESOURCE_NOT_FOUND","RESOURCE_CONFLICT","PAYMENT_REQUIRED","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"null"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","request_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"paymentRequired":{"title":"paymentRequired","summary":"A payment the request would skip","value":{"error":{"code":"PAYMENT_REQUIRED","message":"This shift requires a prepaid formula: send one in products (see GET /shifts/{id}/products), or set bypass_payments to true to waive it","request_id":"0b6f3c1e-1a43-4c5e-9a5c-3f1e2d7c8b90","details":{"reason":"PREPAYMENT_REQUIRED","required_flags":["bypass_payments"]}}}}},"exampleType":"examples"}},"exampleType":"examples"},"49704781-30e1-45d7-84c1-bfa989155ed1":{"description":"Rate limit exceeded: at most 300 requests per minute per API key (`RATE_LIMITED`, with a `Retry-After` header in seconds), and 600 per minute per client IP for the partner route rule, whose middleware response may not use the PartnerApiError envelope or include request_id. Back off before retrying.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"0183924f-0297-4229-9080-e6dfa80d6211":{"description":"Unexpected server error. Preserve error.request_id for support. Before retrying a write, check whether it already succeeded.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["AUTHENTICATION_REQUIRED","INVALID_AUTHENTICATION","INSUFFICIENT_SCOPE","FEATURE_NOT_ENABLED","RESTAURANT_SUSPENDED","VALIDATION_ERROR","RESOURCE_NOT_FOUND","RESOURCE_CONFLICT","PAYMENT_REQUIRED","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"error.details.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"null"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","request_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"\u003cstring>","request_id":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b00e91a2-8f7d-454c-ac4d-64df694997c5":{"PartnerBearerToken":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"Restaurant-scoped partner API token passed as `Authorization: Bearer \u003ctoken>`.","x-default":"your_token_here","scopes":[],"schemeName":"PartnerBearerToken"}}},"servers":{"3a2f7e3f-7bfc-422b-9ff7-5e8a21595bec":{"url":"https://app.eat-now.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"Restaurant-scoped partner API token passed as `Authorization: Bearer \u003ctoken>`.","x-default":"your_token_here","scopes":[],"schemeName":"PartnerBearerToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Restaurant-scoped partner API token passed as `Authorization: Bearer \u003ctoken>`.","format":"bearer","default":"your_token_here","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"PartnerBearerToken","name":"Authorization"}],"title":"PartnerBearerToken"}]},"originalFileLocation":"https://app.eat-now.io/api/partner/v1/openapi.json"},"subdomain":"eatnow","siteName":"EatNow Docs","title":"Create a reservation - EatNow Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/reservations/create-a-reservation","matchLevel":0},"fr":{"href":"/api-reference/reservations/create-a-reservation","matchLevel":0}}},"lastModified":"2026-11-17T07:37:50.233Z","originalFileLocation":"api-reference/reservations/create-a-reservation.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Requires RESERVATIONS_WRITE. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. products sells the shift\u0026#x27;s formulas (PREPAYMENT) and add-ons (EXTRA), listed by GET /shifts/{id}/products, with the booking portal\u0026#x27;s rules: products sold to the booking\u0026#x27;s prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 PAYMENT_REQUIRED, details.reason: PREPAYMENT_REQUIRED). The day\u0026#x27;s stock is checked again when the reservation is written: 409 PRODUCT_CAPACITY_UNAVAILABLE when it ran out; bypass_availability skips it. While the reservation awaits an online payment, the response carries payment_url (with RESERVATIONS_READ_SENSITIVE). pms_reference links the reservation to a stay of the hotel\u0026#x27;s PMS and marks a hotel guest. external_id, when provided, must be unique per restaurant and duplicate values return a conflict response. customer takes either { id } to link an existing customer, or the customer\u0026#x27;s details inline: the customer is then found or created in the same call (see customer.on_match), no separate customer call needed. customer may be set to null to create an anonymous reservation with no linked customer, such as a walk-in. Without a bypass_* flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. bypass_availability is available only to credentials with the RESERVATIONS_FORCE_INSERT scope and force-inserts the reservation without capacity validation, under any shift_id. The same RESERVATIONS_FORCE_INSERT scope is also required when initial_status is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. bypass_approval is available only to credentials with the RESERVATIONS_FORCE_CONFIRM scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift\u0026#x27;s minimum party size, unless the reservation starts within the shift\u0026#x27;s deposit delay; a force insert under another shift\u0026#x27;s id still owes the payments of the shift whose hours hold start_at. A request that would skip a payment returns 422 PAYMENT_REQUIRED; bypass_payments waives it and requires RESERVATIONS_FORCE_CONFIRM, except with an operational initial_status. With bypass_payments, no deposit is taken and the products are recorded as paid on site (FREE): they still take stock. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EatNow Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a reservation - EatNow Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Requires RESERVATIONS_WRITE. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. products sells the shift\u0026#x27;s formulas (PREPAYMENT) and add-ons (EXTRA), listed by GET /shifts/{id}/products, with the booking portal\u0026#x27;s rules: products sold to the booking\u0026#x27;s prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 PAYMENT_REQUIRED, details.reason: PREPAYMENT_REQUIRED). The day\u0026#x27;s stock is checked again when the reservation is written: 409 PRODUCT_CAPACITY_UNAVAILABLE when it ran out; bypass_availability skips it. While the reservation awaits an online payment, the response carries payment_url (with RESERVATIONS_READ_SENSITIVE). pms_reference links the reservation to a stay of the hotel\u0026#x27;s PMS and marks a hotel guest. external_id, when provided, must be unique per restaurant and duplicate values return a conflict response. customer takes either { id } to link an existing customer, or the customer\u0026#x27;s details inline: the customer is then found or created in the same call (see customer.on_match), no separate customer call needed. customer may be set to null to create an anonymous reservation with no linked customer, such as a walk-in. Without a bypass_* flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. bypass_availability is available only to credentials with the RESERVATIONS_FORCE_INSERT scope and force-inserts the reservation without capacity validation, under any shift_id. The same RESERVATIONS_FORCE_INSERT scope is also required when initial_status is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. bypass_approval is available only to credentials with the RESERVATIONS_FORCE_CONFIRM scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift\u0026#x27;s minimum party size, unless the reservation starts within the shift\u0026#x27;s deposit delay; a force insert under another shift\u0026#x27;s id still owes the payments of the shift whose hours hold start_at. A request that would skip a payment returns 422 PAYMENT_REQUIRED; bypass_payments waives it and requires RESERVATIONS_FORCE_CONFIRM, except with an operational initial_status. With bypass_payments, no deposit is taken and the products are recorded as paid on site (FREE): they still take stock. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EatNow Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://eatnow.mintlify.site/_mintlify/api/og/v2?division=Reservations\u0026amp;title=Create+a+reservation\u0026amp;description=Requires+%60RESERVATIONS_WRITE%60.+Creates+a+reservation+with+booking+notifications+and+inferred+payments.+A+201+response+does+not+imply+confirmation%3A+inspect+the+r\u0026amp;theme=42c779f1be8c64a85ddb04d3\u0026amp;signature=e9cb310bdc53b056437f881c42a01345a5e63f9185dce1ccd8c50ab04870ab9c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a reservation - EatNow Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Requires RESERVATIONS_WRITE. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. products sells the shift\u0026#x27;s formulas (PREPAYMENT) and add-ons (EXTRA), listed by GET /shifts/{id}/products, with the booking portal\u0026#x27;s rules: products sold to the booking\u0026#x27;s prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 PAYMENT_REQUIRED, details.reason: PREPAYMENT_REQUIRED). The day\u0026#x27;s stock is checked again when the reservation is written: 409 PRODUCT_CAPACITY_UNAVAILABLE when it ran out; bypass_availability skips it. While the reservation awaits an online payment, the response carries payment_url (with RESERVATIONS_READ_SENSITIVE). pms_reference links the reservation to a stay of the hotel\u0026#x27;s PMS and marks a hotel guest. external_id, when provided, must be unique per restaurant and duplicate values return a conflict response. customer takes either { id } to link an existing customer, or the customer\u0026#x27;s details inline: the customer is then found or created in the same call (see customer.on_match), no separate customer call needed. customer may be set to null to create an anonymous reservation with no linked customer, such as a walk-in. Without a bypass_* flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. bypass_availability is available only to credentials with the RESERVATIONS_FORCE_INSERT scope and force-inserts the reservation without capacity validation, under any shift_id. The same RESERVATIONS_FORCE_INSERT scope is also required when initial_status is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. bypass_approval is available only to credentials with the RESERVATIONS_FORCE_CONFIRM scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift\u0026#x27;s minimum party size, unless the reservation starts within the shift\u0026#x27;s deposit delay; a force insert under another shift\u0026#x27;s id still owes the payments of the shift whose hours hold start_at. A request that would skip a payment returns 422 PAYMENT_REQUIRED; bypass_payments waives it and requires RESERVATIONS_FORCE_CONFIRM, except with an operational initial_status. With bypass_payments, no deposit is taken and the products are recorded as paid on site (FREE): they still take stock. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://eatnow.mintlify.site/_mintlify/api/og/v2?division=Reservations\u0026amp;title=Create+a+reservation\u0026amp;description=Requires+%60RESERVATIONS_WRITE%60.+Creates+a+reservation+with+booking+notifications+and+inferred+payments.+A+201+response+does+not+imply+confirmation%3A+inspect+the+r\u0026amp;theme=42c779f1be8c64a85ddb04d3\u0026amp;signature=e9cb310bdc53b056437f881c42a01345a5e63f9185dce1ccd8c50ab04870ab9c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/eatnow/y6uhmJRlcOIOmiar/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EatNow Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EB5E0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/reservations/create-a-reservation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.eat-now.io/#organization\",\"name\":\"EatNow Docs\",\"url\":\"https://docs.eat-now.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/eatnow/_MSMEa_JKogYV0tN/images/brand/lockup-horizontal-ink.svg?fit=max\u0026auto=format\u0026n=_MSMEa_JKogYV0tN\u0026q=85\u0026s=007d896c7ab3a4898ff2c31275d05b40\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.eat-now.io#website\",\"name\":\"EatNow Docs\",\"url\":\"https://docs.eat-now.io\",\"publisher\":{\"@id\":\"https://docs.eat-now.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation#webpage\",\"url\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation\",\"name\":\"Create a reservation\",\"description\":\"Requires RESERVATIONS_WRITE. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. products sells the shift's formulas (PREPAYMENT) and add-ons (EXTRA), listed by GET /shifts/{id}/products, with the booking portal's rules: products sold to the booking's prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 PAYMENT_REQUIRED, details.reason: PREPAYMENT_REQUIRED). The day's stock is checked again when the reservation is written: 409 PRODUCT_CAPACITY_UNAVAILABLE when it ran out; bypass_availability skips it. While the reservation awaits an online payment, the response carries payment_url (with RESERVATIONS_READ_SENSITIVE). pms_reference links the reservation to a stay of the hotel's PMS and marks a hotel guest. external_id, when provided, must be unique per restaurant and duplicate values return a conflict response. customer takes either { id } to link an existing customer, or the customer's details inline: the customer is then found or created in the same call (see customer.on_match), no separate customer call needed. customer may be set to null to create an anonymous reservation with no linked customer, such as a walk-in. Without a bypass_* flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. bypass_availability is available only to credentials with the RESERVATIONS_FORCE_INSERT scope and force-inserts the reservation without capacity validation, under any shift_id. The same RESERVATIONS_FORCE_INSERT scope is also required when initial_status is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. bypass_approval is available only to credentials with the RESERVATIONS_FORCE_CONFIRM scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift's minimum party size, unless the reservation starts within the shift's deposit delay; a force insert under another shift's id still owes the payments of the shift whose hours hold start_at. A request that would skip a payment returns 422 PAYMENT_REQUIRED; bypass_payments waives it and requires RESERVATIONS_FORCE_CONFIRM, except with an operational initial_status. With bypass_payments, no deposit is taken and the products are recorded as paid on site (FREE): they still take stock. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.\",\"dateModified\":\"2026-11-17T07:37:50.233Z\",\"isPartOf\":{\"@id\":\"https://docs.eat-now.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reservations\",\"item\":\"https://docs.eat-now.io/api-reference/reservations/search-reservations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a reservation\",\"item\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation#apireference\",\"headline\":\"Create a reservation\",\"name\":\"Create a reservation\",\"description\":\"Requires RESERVATIONS_WRITE. Creates a reservation with booking notifications and inferred payments. A 201 response does not imply confirmation: inspect the returned status and payments. Customer notifications and payment-link sending default to true. The server adds the deposit the shift takes. products sells the shift's formulas (PREPAYMENT) and add-ons (EXTRA), listed by GET /shifts/{id}/products, with the booking portal's rules: products sold to the booking's prescriber (or the public; never internal ones), active variants open to the party size, the minimum delay, formulas covering the guests, quantity 1 for a product not sold per guest, one line per variant, and one payment mode and currency for everything collected online. A shift whose formula is mandatory refuses a create without one (422 PAYMENT_REQUIRED, details.reason: PREPAYMENT_REQUIRED). The day's stock is checked again when the reservation is written: 409 PRODUCT_CAPACITY_UNAVAILABLE when it ran out; bypass_availability skips it. While the reservation awaits an online payment, the response carries payment_url (with RESERVATIONS_READ_SENSITIVE). pms_reference links the reservation to a stay of the hotel's PMS and marks a hotel guest. external_id, when provided, must be unique per restaurant and duplicate values return a conflict response. customer takes either { id } to link an existing customer, or the customer's details inline: the customer is then found or created in the same call (see customer.on_match), no separate customer call needed. customer may be set to null to create an anonymous reservation with no linked customer, such as a walk-in. Without a bypass_* flag, a create follows the rules of the booking portal; each flag lifts one of them, the way staff can, for a credential holding the matching scope. bypass_availability is available only to credentials with the RESERVATIONS_FORCE_INSERT scope and force-inserts the reservation without capacity validation, under any shift_id. The same RESERVATIONS_FORCE_INSERT scope is also required when initial_status is provided to override the normal create-time status derivation for trusted operational integrations such as POS walk-ins. bypass_approval is available only to credentials with the RESERVATIONS_FORCE_CONFIRM scope and bypasses manual staff approval for shifts that would normally create pending reservations. A deposit is required from the shift's minimum party size, unless the reservation starts within the shift's deposit delay; a force insert under another shift's id still owes the payments of the shift whose hours hold start_at. A request that would skip a payment returns 422 PAYMENT_REQUIRED; bypass_payments waives it and requires RESERVATIONS_FORCE_CONFIRM, except with an operational initial_status. With bypass_payments, no deposit is taken and the products are recorded as paid on site (FREE): they still take stock. Reservation responses mask sensitive fields unless the key also has RESERVATIONS_READ_SENSITIVE. See the authentication guide for field-level masking. A duplicate external_id returns 409, not a replay of the original response. Search by external_id after an uncertain outcome before creating again. No Idempotency-Key header is supported.\",\"url\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.eat-now.io/api-reference/reservations/create-a-reservation#webpage\"},\"dateModified\":\"2026-11-17T07:37:50.233Z\",\"publisher\":{\"@id\":\"https://docs.eat-now.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.eat-now.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EatNow Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"EatNow Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/reservations/create-a-reservation.md","siteName":"EatNow Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","icon":"book-2","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Partner API","href":"/api-reference/introduction"},{"title":"Authentication and scopes","href":"/api-reference/authentication"},{"title":"Connect an app (OAuth)","href":"/api-reference/oauth"},{"title":"Booking flow","href":"/api-reference/booking-flow"},{"title":"Errors and rate limits","href":"/api-reference/errors"},{"title":"Changelog","href":"/api-reference/changelog"}]},{"group":"Meta","icon":"database","pages":[{"title":"Get API metadata","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1","href":"/api-reference/meta/get-api-metadata"},{"title":"Get the OpenAPI document","deprecated":null,"version":null,"sidebarTitle":"OpenAPI document","openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/openapi.json","href":"/api-reference/meta/get-the-openapi-document"}]},{"group":"Authentication","icon":"key","pages":[{"title":"Get auth context","deprecated":null,"version":null,"sidebarTitle":"Who am I","openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/me","href":"/api-reference/authentication/get-auth-context"}]},{"group":"Catalog","icon":"list","pages":[{"title":"Get all tables","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/tables","href":"/api-reference/catalog/get-all-tables"},{"title":"Get all rooms","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/rooms","href":"/api-reference/catalog/get-all-rooms"},{"title":"Get all prescribers","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/prescribers","href":"/api-reference/catalog/get-all-prescribers"},{"title":"Get all active shifts","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/shifts","href":"/api-reference/catalog/get-all-active-shifts"},{"title":"List what a shift sells","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/shifts/{id}/products","href":"/api-reference/catalog/list-what-a-shift-sells"},{"title":"Get all discounts","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/discounts","href":"/api-reference/catalog/get-all-discounts"}]},{"group":"Availability","icon":"calendar-search","pages":[{"title":"Search bookable reservation slots","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/availability","href":"/api-reference/availability/search-bookable-reservation-slots"},{"title":"Check a single reservation slot","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/availability/check","href":"/api-reference/availability/check-a-single-reservation-slot"}]},{"group":"Reservations","icon":"calendar-check","pages":[{"title":"Search reservations","description":"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.","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/reservations","href":"/api-reference/reservations/search-reservations"},{"title":"Create a reservation","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations","href":"/api-reference/reservations/create-a-reservation"},{"title":"Get a reservation","description":"Returns the full partner-facing reservation resource for one reservation id, including customer, operational assignments, payment details, notes, feedback, and cancellation state. Requires `RESERVATIONS_READ`. Reservation responses mask sensitive fields unless the key also has `RESERVATIONS_READ_SENSITIVE`. See the authentication guide for field-level masking.","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/reservations/{id}","href":"/api-reference/reservations/get-a-reservation"},{"title":"Update a reservation","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/reservations/{id}","href":"/api-reference/reservations/update-a-reservation"},{"title":"Cancel a reservation","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations/{id}/cancel","href":"/api-reference/reservations/cancel-a-reservation"}]},{"group":"Payments","icon":"credit-card","pages":[{"title":"Collect a payment line","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations/{id}/payments/{paymentId}/collect","href":"/api-reference/reservations/collect-a-payment-line"},{"title":"Charge a payment line to the hotel room","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations/{id}/payments/{paymentId}/room-charge","href":"/api-reference/reservations/charge-a-payment-line-to-the-hotel-room"},{"title":"Charge a payment line to the hotel room","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activities/{id}/payments/{paymentId}/room-charge","href":"/api-reference/activities/charge-a-payment-line-to-the-hotel-room"}]},{"group":"Customers","icon":"users","pages":[{"title":"Customers (CRM)","href":"/api-reference/customers"},{"title":"List customers","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/customers","href":"/api-reference/customers/list-customers"},{"title":"Create a customer","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/customers","href":"/api-reference/customers/create-a-customer"},{"title":"Get a customer","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/customers/{id}","href":"/api-reference/customers/get-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/customers/{id}","href":"/api-reference/customers/update-a-customer"},{"title":"List customer custom fields","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/customer-fields","href":"/api-reference/customers/list-customer-custom-fields"}]},{"group":"Gift cards","icon":"gift","pages":[{"title":"Gift cards","href":"/api-reference/gift-cards"},{"title":"List your gift cards","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/gift-cards","href":"/api-reference/gift-cards/list-your-gift-cards"},{"title":"Import a gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards","href":"/api-reference/gift-cards/import-a-gift-card"},{"title":"Get a gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/gift-cards/{id}","href":"/api-reference/gift-cards/get-a-gift-card"},{"title":"Update your gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/gift-cards/{id}","href":"/api-reference/gift-cards/update-your-gift-card"},{"title":"Cancel your gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/{id}/cancel","href":"/api-reference/gift-cards/cancel-your-gift-card"},{"title":"Check a code","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/lookup","href":"/api-reference/gift-cards/check-a-code"},{"title":"Redeem a gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/{id}/redemptions","href":"/api-reference/gift-cards/redeem-a-gift-card"},{"title":"Cancel a redemption","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/{id}/redemptions/{redemption_id}/cancel","href":"/api-reference/gift-cards/cancel-a-redemption"}]},{"group":"Activities","icon":"ticket","pages":[{"title":"Activities","href":"/api-reference/activities"},{"title":"Connect a reseller","href":"/api-reference/connect-a-reseller"},{"title":"List activity products","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-products","href":"/api-reference/activity-catalog/list-activity-products"},{"title":"Get an activity product","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-products/{id}","href":"/api-reference/activity-catalog/get-an-activity-product"},{"title":"Get the slots of an activity product","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-availability","href":"/api-reference/activity-catalog/get-the-slots-of-an-activity-product"},{"title":"List activity staff","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-staff","href":"/api-reference/activity-catalog/list-activity-staff"},{"title":"Check a booking","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-availability/check","href":"/api-reference/activity-catalog/check-a-booking"},{"title":"Book activities","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-carts","href":"/api-reference/activities/book-activities"},{"title":"Get an activity cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-carts/{id}","href":"/api-reference/activities/get-an-activity-cart"},{"title":"Add an activity to a cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-carts/{id}/activities","href":"/api-reference/activities/add-an-activity-to-a-cart"},{"title":"List activities","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activities","href":"/api-reference/activities/list-activities"},{"title":"Get an activity","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activities/{id}","href":"/api-reference/activities/get-an-activity"},{"title":"Change an activity","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/activities/{id}","href":"/api-reference/activities/change-an-activity"},{"title":"Cancel an activity","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activities/{id}/cancel","href":"/api-reference/activities/cancel-an-activity"},{"title":"Change an activity cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/activity-carts/{id}","href":"/api-reference/activities/change-an-activity-cart"},{"title":"Cancel an activity cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-carts/{id}/cancel","href":"/api-reference/activities/cancel-an-activity-cart"}]},{"group":"Missed Calls","icon":"phone-missed","pages":[{"title":"Report a missed call","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/missed-calls","href":"/api-reference/missed-calls/report-a-missed-call"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Webhook reference","href":"/api-reference/webhooks"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/webhook-endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/webhook-endpoints","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/webhook-endpoints/{id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/webhook-endpoints/{id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json delete /api/partner/v1/webhook-endpoints/{id}","href":"/api-reference/webhooks/delete-a-webhook-endpoint"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/webhook-endpoints/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/webhook-endpoints/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"Legacy webhook format","href":"/api-reference/webhooks-legacy"}]},{"group":"Hotel PMS","icon":"bed","pages":[{"title":"Connecting a PMS","href":"/api-reference/connecting-a-pms"}]}]}]},{"language":"fr","default":false,"tabs":[{"tab":"Guides","icon":"book-2","pages":[{"title":"Guides","href":"/fr"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Bien démarrer","pages":[{"title":"API partenaire","href":"/fr/api-reference/introduction"},{"title":"Authentification et scopes","href":"/fr/api-reference/authentication"},{"title":"Connecter une application (OAuth)","href":"/fr/api-reference/oauth"},{"title":"Parcours de réservation","href":"/fr/api-reference/booking-flow"},{"title":"Erreurs et limites","href":"/fr/api-reference/errors"},{"title":"Changelog","href":"/fr/api-reference/changelog"}]},{"group":"Meta","icon":"database","pages":[{"title":"Get API metadata","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1","href":"/api-reference/meta/get-api-metadata"},{"title":"Get the OpenAPI document","deprecated":null,"version":null,"sidebarTitle":"OpenAPI document","openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/openapi.json","href":"/api-reference/meta/get-the-openapi-document"}]},{"group":"Authentication","icon":"key","pages":[{"title":"Get auth context","deprecated":null,"version":null,"sidebarTitle":"Who am I","openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/me","href":"/api-reference/authentication/get-auth-context"}]},{"group":"Catalog","icon":"list","pages":[{"title":"Get all tables","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/tables","href":"/api-reference/catalog/get-all-tables"},{"title":"Get all rooms","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/rooms","href":"/api-reference/catalog/get-all-rooms"},{"title":"Get all prescribers","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/prescribers","href":"/api-reference/catalog/get-all-prescribers"},{"title":"Get all active shifts","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/shifts","href":"/api-reference/catalog/get-all-active-shifts"},{"title":"List what a shift sells","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/shifts/{id}/products","href":"/api-reference/catalog/list-what-a-shift-sells"},{"title":"Get all discounts","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/discounts","href":"/api-reference/catalog/get-all-discounts"}]},{"group":"Availability","icon":"calendar-search","pages":[{"title":"Search bookable reservation slots","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/availability","href":"/api-reference/availability/search-bookable-reservation-slots"},{"title":"Check a single reservation slot","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/availability/check","href":"/api-reference/availability/check-a-single-reservation-slot"}]},{"group":"Reservations","icon":"calendar-check","pages":[{"title":"Search reservations","description":"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.","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/reservations","href":"/api-reference/reservations/search-reservations"},{"title":"Create a reservation","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations","href":"/api-reference/reservations/create-a-reservation"},{"title":"Get a reservation","description":"Returns the full partner-facing reservation resource for one reservation id, including customer, operational assignments, payment details, notes, feedback, and cancellation state. Requires `RESERVATIONS_READ`. Reservation responses mask sensitive fields unless the key also has `RESERVATIONS_READ_SENSITIVE`. See the authentication guide for field-level masking.","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/reservations/{id}","href":"/api-reference/reservations/get-a-reservation"},{"title":"Update a reservation","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/reservations/{id}","href":"/api-reference/reservations/update-a-reservation"},{"title":"Cancel a reservation","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations/{id}/cancel","href":"/api-reference/reservations/cancel-a-reservation"}]},{"group":"Payments","icon":"credit-card","pages":[{"title":"Collect a payment line","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations/{id}/payments/{paymentId}/collect","href":"/api-reference/reservations/collect-a-payment-line"},{"title":"Charge a payment line to the hotel room","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/reservations/{id}/payments/{paymentId}/room-charge","href":"/api-reference/reservations/charge-a-payment-line-to-the-hotel-room"},{"title":"Charge a payment line to the hotel room","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activities/{id}/payments/{paymentId}/room-charge","href":"/api-reference/activities/charge-a-payment-line-to-the-hotel-room"}]},{"group":"Customers","icon":"users","pages":[{"title":"Clients (CRM)","href":"/fr/api-reference/customers"},{"title":"List customers","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/customers","href":"/api-reference/customers/list-customers"},{"title":"Create a customer","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/customers","href":"/api-reference/customers/create-a-customer"},{"title":"Get a customer","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/customers/{id}","href":"/api-reference/customers/get-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/customers/{id}","href":"/api-reference/customers/update-a-customer"},{"title":"List customer custom fields","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/customer-fields","href":"/api-reference/customers/list-customer-custom-fields"}]},{"group":"Bons cadeaux","icon":"gift","pages":[{"title":"Gift cards","href":"/fr/api-reference/gift-cards"},{"title":"List your gift cards","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/gift-cards","href":"/api-reference/gift-cards/list-your-gift-cards"},{"title":"Import a gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards","href":"/api-reference/gift-cards/import-a-gift-card"},{"title":"Get a gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/gift-cards/{id}","href":"/api-reference/gift-cards/get-a-gift-card"},{"title":"Update your gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/gift-cards/{id}","href":"/api-reference/gift-cards/update-your-gift-card"},{"title":"Cancel your gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/{id}/cancel","href":"/api-reference/gift-cards/cancel-your-gift-card"},{"title":"Check a code","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/lookup","href":"/api-reference/gift-cards/check-a-code"},{"title":"Redeem a gift card","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/{id}/redemptions","href":"/api-reference/gift-cards/redeem-a-gift-card"},{"title":"Cancel a redemption","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/gift-cards/{id}/redemptions/{redemption_id}/cancel","href":"/api-reference/gift-cards/cancel-a-redemption"}]},{"group":"Activities","icon":"ticket","pages":[{"title":"Activités","href":"/fr/api-reference/activities"},{"title":"Connect a reseller","href":"/fr/api-reference/connect-a-reseller"},{"title":"List activity products","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-products","href":"/api-reference/activity-catalog/list-activity-products"},{"title":"Get an activity product","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-products/{id}","href":"/api-reference/activity-catalog/get-an-activity-product"},{"title":"Get the slots of an activity product","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-availability","href":"/api-reference/activity-catalog/get-the-slots-of-an-activity-product"},{"title":"List activity staff","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-staff","href":"/api-reference/activity-catalog/list-activity-staff"},{"title":"Check a booking","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-availability/check","href":"/api-reference/activity-catalog/check-a-booking"},{"title":"Book activities","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-carts","href":"/api-reference/activities/book-activities"},{"title":"Get an activity cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activity-carts/{id}","href":"/api-reference/activities/get-an-activity-cart"},{"title":"Add an activity to a cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-carts/{id}/activities","href":"/api-reference/activities/add-an-activity-to-a-cart"},{"title":"List activities","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activities","href":"/api-reference/activities/list-activities"},{"title":"Get an activity","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/activities/{id}","href":"/api-reference/activities/get-an-activity"},{"title":"Change an activity","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/activities/{id}","href":"/api-reference/activities/change-an-activity"},{"title":"Cancel an activity","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activities/{id}/cancel","href":"/api-reference/activities/cancel-an-activity"},{"title":"Change an activity cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/activity-carts/{id}","href":"/api-reference/activities/change-an-activity-cart"},{"title":"Cancel an activity cart","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/activity-carts/{id}/cancel","href":"/api-reference/activities/cancel-an-activity-cart"}]},{"group":"Missed Calls","icon":"phone-missed","pages":[{"title":"Report a missed call","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/missed-calls","href":"/api-reference/missed-calls/report-a-missed-call"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Référence webhooks","href":"/fr/api-reference/webhooks"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/webhook-endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/webhook-endpoints","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json get /api/partner/v1/webhook-endpoints/{id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json patch /api/partner/v1/webhook-endpoints/{id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json delete /api/partner/v1/webhook-endpoints/{id}","href":"/api-reference/webhooks/delete-a-webhook-endpoint"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/webhook-endpoints/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"https://app.eat-now.io/api/partner/v1/openapi.json post /api/partner/v1/webhook-endpoints/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"Ancien format des webhooks","href":"/fr/api-reference/webhooks-legacy"}]},{"group":"PMS de l'hôtel","icon":"bed","pages":[{"title":"Connecter un PMS","href":"/fr/api-reference/connecting-a-pms"}]}]}]}]},"basePath":"","title":"Create a reservation - EatNow Docs","deploymentId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","buildId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CbGMcFGR.js","snippetPresets-Bmv5mKa2.js","utils-CIXWNXpX.js","style-to-object-BY3JEAdk.js","utils-Ao5f3MLv.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CnDl3Tzk.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DCKK_-ms.js","_Uint8Array-AD2KodMR.js","isObject-FP1Yky1u.js","ApiExamples-WuhTLGpi.js","usePlaygroundInputsStore-TEEPsnq4.js","shallow-CPMaphSa.js","isEqual-DPVEsfEY.js","CodeSnippets-4KiTz0PS.js","CodeSnippet-Cy8aP2_X.js","use-playground-group-access-DM2iaKsK.js","Page-Ch7YiUoh.js","api-description-markdown-CN0nQq69.js","DynamicMarkdown-fZBmrd-V.js","SectionHeading-CwLwzaE9.js","MethodPill-De3Dnqxv.js","getPastedJson-obk3J_hD.js","Check2Icon-BbG90KLF.js","axios-CsQoIw0U.js","Markdown-CaQvVc8r.js","AssistantPageLink-C8wUIKD2.js","dist-CpT8yZOW.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}