The Quotation API accepts JSON requests over HTTPS only. Calls over plain HTTP are rejected. Every request is a POST and must be authenticated as described on the Authentication page.
Body
The request body is a single JSON object. It carries every required and optional parameter the API needs to compute a result. Field names, types, and accepted values are documented in the Reference.
The response holds one entity per combination for each room and rate, with prices and taxes computed for that number of guests. Each entity repeats the requested combination in its own guests field, so you can match it to your request. The rest of the request stays the same, and it remains a single call.
Do not derive the price of one occupancy from another. Two occupancies can share a price on one rate, but per-person supplements, occupancy-based rates, and meal plans make prices vary with the number of guests. Taxes such as city tax also depend on it, and the API already computes them for each combination.
Safe to retry
The Quotation API is read-only. Calls never modify data on the D-EDGE side. You can safely retry a request without risk of duplication or side effects.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"D-EDGE Docs","description":"API documentation for D-EDGE, the hospitality technology platform. Connectivity, pricing and availability, booking, and guest management APIs for technology partners.","colors":{"primary":"#621692","light":"#00d7b0","dark":"#9b5fc0"},"logo":{"light":"https://mintcdn.com/dedge/aFUJALuxu9HSXZ0w/logo/d-edge-light.svg?fit=max\u0026auto=format\u0026n=aFUJALuxu9HSXZ0w\u0026q=85\u0026s=11939117a758ab11da1cc24574dcee0b","dark":"https://mintcdn.com/dedge/aFUJALuxu9HSXZ0w/logo/d-edge-dark.svg?fit=max\u0026auto=format\u0026n=aFUJALuxu9HSXZ0w\u0026q=85\u0026s=cd987718817feb5c956b0d07cdfd4da2"},"favicon":"https://mintcdn.com/dedge/qh0OMArf4kAaSPdp/favicon.png?fit=max\u0026auto=format\u0026n=qh0OMArf4kAaSPdp\u0026q=85\u0026s=0c61e3180d90fdba57901ea12d8f7604","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","node","python","php","csharp","java"]}},"background":{"color":{"light":"#faf8ff","dark":"#0f0d12"}},"navbar":{"links":[{"icon":"comment-dots","href":"/overview/resources/contact-us","label":"Contact us"}]},"footer":{"socials":{"facebook":"https://www.facebook.com/D.EDGE.Hospitality.Solutions","x":"https://x.com/D_EDGE_Hosp","youtube":"https://www.youtube.com/channel/UC2wG3a8rYx5re8RdB-2FQ9A","instagram":"https://www.instagram.com/d_edge_hospitality","github":"https://github.com/d-edge","linkedin":"https://www.linkedin.com/company/d-edge-hospitality-solutions"}},"seo":{"metatags":{"canonical":"https://docs.d-edge.com","google-site-verification":"DbCZnF7pKm_lrSZjFug9jFzy2-OcwrnY1kHn_oYMQdg"}},"fonts":{"family":"Montserrat"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":["This site documents the D-EDGE APIs for technology partners (web agencies, OTAs, PMS and RMS vendors, booking and CRM tools). It is written for developers integrating with hotels that use the D-EDGE platform.","Seven APIs, grouped by domain. Connectivity: Channel Manager API (distribute a hotel's inventory to your channel and send bookings back). Pricing \u0026 Availability: Best Price API (best offers to highlight), Quotation API (all bookable offers for a stay), Daily Rates API (daily availability between two dates). Booking: Booking Engine API (a hotel's full direct booking funnel), Gift Shop API (gift vouchers from catalogue to payment). Guest Management: CRM API (guest profiles).","Pick the API by the need: to display prices, use the Best Price API or the Daily Rates API; to quote a specific stay, use the Quotation API; to book, use the Booking Engine API; to sell gift vouchers, use the Gift Shop API; to manage guest profiles, use the CRM API; to receive hotel inventory and send bookings back as a distribution channel, use the Channel Manager API.","Base URLs, hotel identifiers, and credentials are delivered by the D-EDGE partnership team during onboarding. Do not invent base URLs, endpoints, parameters, or example credentials that do not appear on these pages.","Authentication differs per API: OAuth 1.0 for Best Price, Quotation, Daily Rates, and Booking Engine; an X-API-KEY header for Gift Shop; OAuth 2.0 client credentials for CRM; partner-defined credentials carried in the XML message for the Channel Manager API. Read each API's Authentication page before writing code.","A mock environment returns realistic but fictitious data without credentials. The Postman and Insomnia collections on the API collections page target it by default. Use it for exploration and tests, never for production traffic.","Use the official names exactly: D-EDGE, D-EDGE platform, Channel Manager API, partnership team. Do not use Back Office or Extranet.","Each API has a Changelog page. Check it for the current behaviour before relying on an older answer. For questions these pages do not answer, direct the reader to the Contact us page."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Become a Partner","icon":"handshake","href":"https://www.d-edge.com/partner-contact/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dedge","hasAudioNarration":false,"actualSubdomain":"dedge","customDomains":["docs.d-edge.com"],"gitSource":{"type":"gitlab","owner":"d-edge/d-edge/product/docs","repo":"d-edge-mintlify-public-docs","projectId":81118478,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af30afaee5fde67b0aa986a","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Build","count":119},{"language":"default","tag":"Reference","count":89},{"language":"default","tag":"Booking","count":83},{"language":"default","tag":"Booking Engine API","count":54},{"language":"default","tag":"Pricing \u0026 Availability","count":37},{"language":"default","tag":"Resources","count":36},{"language":"default","tag":"Guest Management","count":30},{"language":"default","tag":"CRM API","count":30},{"language":"default","tag":"Gift Shop API","count":27},{"language":"default","tag":"Guidelines","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"workos-onboarding","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--dedge-purple: #621692;--dedge-purple-tint: rgba(98, 22, 146, 0.1);--dedge-teal: #00d7b0;--dedge-teal-tint: rgba(0, 215, 176, 0.15);--dedge-green: #007a63;--dedge-green-tint: rgba(0, 148, 122, 0.12);--dedge-lilac: #b57edc;--dedge-lilac-tint: rgba(181, 126, 220, 0.15);--dedge-slate: #64748b}.api-badge{position:absolute;top:22px;left:60px;padding:2px 8px;border-radius:4px;background:var(--dedge-purple-tint);color:var(--dedge-purple);font-size:11px;font-weight:600;line-height:16px}html.dark .api-badge{background:var(--dedge-teal-tint);color:var(--dedge-teal)}html[data-current-path^=\"/best-price-api/\"] .eyebrow::before{content:\"Best Price API · \"}html[data-current-path^=\"/quotation-api/\"] .eyebrow::before{content:\"Quotation API · \"}html[data-current-path^=\"/daily-rates-api/\"] .eyebrow::before{content:\"Daily Rates API · \"}html[data-current-path^=\"/booking-engine-api/\"] .eyebrow::before{content:\"Booking Engine API · \"}html[data-current-path^=\"/gift-shop-api/\"] .eyebrow::before{content:\"Gift Shop API · \"}html[data-current-path^=\"/crm-api/\"] .eyebrow::before{content:\"CRM API · \"}html[data-current-path^=\"/channel-manager-api/\"] .eyebrow::before{content:\"Channel Manager API · \"}li[id=\"/channel-manager-api/build/reference/booking-message\"]>a::before{content:\"SCHEMA\";flex-shrink:0;align-self:center;margin-right:6px;padding:2px 4px;border-radius:6px;font-size:0.5rem;font-weight:700;line-height:1.25;letter-spacing:-0.01em;background:var(--dedge-slate);color:#ffffff}html[data-current-path=\"/channel-manager-api/build/reference/get-hotel\"],html[data-current-path=\"/channel-manager-api/build/reference/planning-updates\"],html[data-current-path=\"/channel-manager-api/build/reference/get-bookings\"],html[data-current-path=\"/channel-manager-api/build/reference/confirm-bookings\"]{--hosting-tag: \"Hosted by you\";--hosting-tag-bg: var(--dedge-green-tint);--hosting-tag-fg: var(--dedge-green);--hosting-tag-wrap: nowrap}html[data-current-path=\"/channel-manager-api/build/reference/push-bookings\"]{--hosting-tag: \"Hosted by D-EDGE\";--hosting-tag-bg: var(--dedge-purple-tint);--hosting-tag-fg: var(--dedge-purple);--hosting-tag-wrap: nowrap}html.dark[data-current-path=\"/channel-manager-api/build/reference/get-hotel\"],html.dark[data-current-path=\"/channel-manager-api/build/reference/planning-updates\"],html.dark[data-current-path=\"/channel-manager-api/build/reference/get-bookings\"],html.dark[data-current-path=\"/channel-manager-api/build/reference/confirm-bookings\"]{--hosting-tag-bg: var(--dedge-teal-tint);--hosting-tag-fg: var(--dedge-teal)}html.dark[data-current-path=\"/channel-manager-api/build/reference/push-bookings\"]{--hosting-tag-bg: var(--dedge-lilac-tint);--hosting-tag-fg: var(--dedge-lilac)}html[data-current-path^=\"/channel-manager-api/build/reference/\"] h1#page-title::after{content:var(--hosting-tag, none);display:inline-block;margin-left:12px;padding:3px 10px;border-radius:6px;font-size:12px;font-weight:600;line-height:16px;letter-spacing:0.01em;vertical-align:middle;white-space:nowrap;background:var(--hosting-tag-bg);color:var(--hosting-tag-fg)}@media (min-width: 640px){html[data-current-path^=\"/channel-manager-api/build/reference/\"] h1#page-title{white-space:var(--hosting-tag-wrap, normal)}}@media (min-width: 1280px){html[data-current-path^=\"/channel-manager-api/build/reference/\"] #content-area{width:calc(100% - 24rem)}html[data-current-path^=\"/channel-manager-api/build/reference/\"] #content-container div:has(+#content-area){max-width:24rem}html[data-current-path^=\"/channel-manager-api/build/reference/\"] #content-container div:has(+#content-area)>div{width:24rem}}html[data-current-path^=\"/channel-manager-api/build/reference/\"]:not([data-current-path$=\"/booking-message\"]) .mdx-content{padding-bottom:5rem}html.dark a[href*=\"partner-contact\"]>div{background-color:var(--color-background-dark, #0f0d12)!important}html.dark a[href*=\"partner-contact\"]:hover>div{background-color:var(--dedge-teal-tint)!important}html.dark a[href*=\"partner-contact\"]:hover svg{background-color:var(--dedge-teal)!important;fill:var(--dedge-teal)!important;color:var(--dedge-teal)!important}html[data-current-path=\"/overview/resources/api-collections\"] [data-component-part=\"card-icon\"]:has(>img){display:flex;flex-shrink:0;align-items:center;justify-content:center;width:48px;height:48px}html[data-current-path=\"/overview/resources/api-collections\"] [data-component-part=\"card-icon\"]>img{width:40px;height:40px;max-width:none}html[data-current-path=\"/booking-engine-api/resources/use-cases/last-step-discount\"] table th:nth-child(-n+2),html[data-current-path=\"/booking-engine-api/resources/use-cases/last-step-discount\"] table td:nth-child(-n+2){white-space:nowrap}html[data-current-path=\"/overview/resources/api-collections\"] table th:first-child,html[data-current-path=\"/overview/resources/api-collections\"] table td:first-child{white-space:nowrap}html[data-current-path=\"/channel-manager-api/build/best-practices\"] table th:not(:first-child),html[data-current-path=\"/channel-manager-api/build/best-practices\"] table td:not(:first-child){min-width:0;white-space:nowrap;text-align:left}html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block{margin-top:0.5rem;margin-bottom:0}html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block,html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block div,html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block pre{overflow-x:visible}html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block code,html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block .whitespace-pre{white-space:pre-wrap;overflow-wrap:break-word}.step h2{font-size:1.25rem;line-height:1.75rem}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) table:has(td:first-child code) th:first-child,html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) table:has(td:first-child code) td:first-child{width:1%;min-width:0;white-space:normal}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) table td:first-child code{white-space:nowrap}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) details>summary+div:not(:has(>.update)){padding-top:0.875rem}html[data-current-path=\"/channel-manager-api/get-certified/test-scenarios\"] .mdx-content:has(>h2#phase-one-basic-behaviour) table th:first-child,html[data-current-path=\"/channel-manager-api/get-certified/test-scenarios\"] .mdx-content:has(>h2#phase-one-basic-behaviour) table td:first-child{width:12%;min-width:0;white-space:nowrap;text-align:left}html[data-current-path=\"/channel-manager-api/get-certified/test-scenarios\"] .mdx-content:has(>h2#phase-one-basic-behaviour) table td:first-child button{vertical-align:0.25em;margin-left:1px}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) details>summary+div>.steps{margin-top:0;margin-bottom:0}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) details .update>:first-child{position:static}.collection-download{display:block;border-bottom:0;text-decoration:none}.collection-download .card{cursor:pointer}.collection-download:hover .card{border-color:rgb(var(--primary))!important}html.dark .collection-download:hover .card{border-color:rgb(var(--primary-light))!important}.collection-download-icon{position:absolute;top:20px;right:20px;background-color:rgb(var(--gray-400))!important}.collection-download:hover .collection-download-icon{background-color:rgb(var(--primary))!important}html.dark .collection-download:hover .collection-download-icon{background-color:rgb(var(--primary-light))!important}"}],"page":{"pagePath":"quotation-api/build/guidelines/requests","slug":"/quotation-api/build/guidelines/requests","pageMetadata":{"title":"Requests","description":"One POST body, and every call safe to retry","href":"/quotation-api/build/guidelines/requests"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"One POST body, and every call safe to retry\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Quotation API accepts JSON requests over HTTPS only. Calls over plain HTTP are rejected. Every request is a `,_jsx(_components.code,{children:`POST`}),` and must be authenticated as described on the `,_jsx(_components.a,{href:`/quotation-api/build/guidelines/authentication`,children:`Authentication`}),` page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(_components.p,{children:[`The request body is a single JSON object. It carries every required and optional parameter the API needs to compute a result. Field names, types, and accepted values are documented in the `,_jsx(_components.a,{href:`/quotation-api/build/reference/stay-quotation`,children:`Reference`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization`})}),_jsxs(_components.td,{children:[`OAuth-signed, see `,_jsx(_components.a,{href:`/quotation-api/build/guidelines/authentication`,children:`Authentication`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`guests`,children:`Guests`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`guests`}),` array sets the occupancy the API prices and taxes. Send at least one item. Without it, the result depends on how the hotel prices the room:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Room pricing`}),`: one entity per room and rate, at the room’s maximum occupancy.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Occupancy-based pricing`}),`: one entity per occupancy defined for the room.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per person pricing`}),`: no rate is returned. For hotels that price per person with supplements, `,_jsx(_components.code,{children:`guests`}),` is mandatory.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`To quote several occupancies, send one item per combination in the same request:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"guests\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"adults\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"children\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [] },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"adults\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"children\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The response holds one entity per combination for each room and rate, with prices and taxes computed for that number of guests. Each entity repeats the requested combination in its own `,_jsx(_components.code,{children:`guests`}),` field, so you can match it to your request. The rest of the request stays the same, and it remains a single call.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not derive the price of one occupancy from another. Two occupancies can share a price on one rate, but per-person supplements, occupancy-based rates, and meal plans make prices vary with the number of guests. Taxes such as city tax also depend on it, and the API already computes them for each combination.`})}),`\n`,_jsx(Heading,{level:`2`,id:`safe-to-retry`,children:`Safe to retry`}),`\n`,_jsx(_components.p,{children:`The Quotation API is read-only. Calls never modify data on the D-EDGE side. You can safely retry a request without risk of duplication or side effects.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Requests","description":"One POST body, and every call safe to retry","href":"/quotation-api/build/guidelines/requests"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Guests","slug":"guests","depth":2,"children":[]},{"title":"Safe to retry","slug":"safe-to-retry","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"dedge","siteName":"D-EDGE Docs","title":"Requests - D-EDGE Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T09:31:30.069Z","originalFileLocation":"quotation-api/build/guidelines/requests.mdx"},"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=\"One POST body, and every call safe to retry\">\u003cmeta data-mint-head name=\"application-name\" content=\"D-EDGE Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_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/dedge/m9_yJ4QqW37ObfU6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Requests - D-EDGE Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"One POST body, and every call safe to retry\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"D-EDGE Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.d-edge.com/quotation-api/build/guidelines/requests\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dedge.mintlify.site/_mintlify/api/og/v2?division=Guidelines\u0026amp;title=Requests\u0026amp;description=One+POST+body%2C+and+every+call+safe+to+retry\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=4d1bd7ba86455c964133c4df8399b9db454157bf9544e7259153e88dccadb273\">\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=\"Requests - D-EDGE Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One POST body, and every call safe to retry\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dedge.mintlify.site/_mintlify/api/og/v2?division=Guidelines\u0026amp;title=Requests\u0026amp;description=One+POST+body%2C+and+every+call+safe+to+retry\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=4d1bd7ba86455c964133c4df8399b9db454157bf9544e7259153e88dccadb273\">\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/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"D-EDGE Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#621692\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"DbCZnF7pKm_lrSZjFug9jFzy2-OcwrnY1kHn_oYMQdg\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.d-edge.com/quotation-api/build/guidelines/requests\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/quotation-api/build/guidelines/requests.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.d-edge.com/#organization\",\"name\":\"D-EDGE Docs\",\"url\":\"https://docs.d-edge.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dedge/aFUJALuxu9HSXZ0w/logo/d-edge-light.svg?fit=max\u0026auto=format\u0026n=aFUJALuxu9HSXZ0w\u0026q=85\u0026s=11939117a758ab11da1cc24574dcee0b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.d-edge.com#website\",\"name\":\"D-EDGE Docs\",\"url\":\"https://docs.d-edge.com\",\"publisher\":{\"@id\":\"https://docs.d-edge.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests#webpage\",\"url\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests\",\"name\":\"Requests\",\"description\":\"One POST body, and every call safe to retry\",\"dateModified\":\"2026-09-28T09:31:30.069Z\",\"isPartOf\":{\"@id\":\"https://docs.d-edge.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://docs.d-edge.com/quotation-api/build/guidelines/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guidelines\",\"item\":\"https://docs.d-edge.com/quotation-api/build/guidelines/authentication\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Requests\",\"item\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests#article\",\"headline\":\"Requests\",\"name\":\"Requests\",\"description\":\"One POST body, and every call safe to retry\",\"url\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests\",\"mainEntityOfPage\":{\"@id\":\"https://docs.d-edge.com/quotation-api/build/guidelines/requests#webpage\"},\"dateModified\":\"2026-09-28T09:31:30.069Z\",\"publisher\":{\"@id\":\"https://docs.d-edge.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.d-edge.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"D-EDGE Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"D-EDGE Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/quotation-api/build/guidelines/requests.md","siteName":"D-EDGE Docs","nav":{"global":{"anchors":[{"anchor":"Become a Partner","icon":"handshake","href":"https://www.d-edge.com/partner-contact/"}]},"tabs":[{"tab":"Overview","icon":"book-open","pages":[{"title":"Overview","href":"/overview/get-started/start-building-with-d-edge"}]},{"tab":"Connectivity","icon":"network-wired","menu":[{"item":"Channel Manager API","icon":"tower-broadcast","pages":[{"title":"Channel Manager API","href":"/channel-manager-api/get-started/introduction"}]}],"pages":[{"title":"Connectivity","href":"/channel-manager-api/get-started/introduction"}]},{"tab":"Pricing \u0026 Availability","icon":"chart-line","menu":[{"item":"Best Price API","icon":"tag","pages":[{"title":"Best Price API","href":"/best-price-api/get-started/introduction"}]},{"item":"Quotation API","icon":"rectangle-list","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Introduction","href":"/quotation-api/get-started/introduction"},{"title":"Quick start","href":"/quotation-api/get-started/quick-start"}]},{"group":"Build","icon":"wrench","pages":[{"group":"Guidelines","pages":[{"title":"Authentication","description":"Authenticate with OAuth 1.0","href":"/quotation-api/build/guidelines/authentication"},{"title":"Requests","href":"/quotation-api/build/guidelines/requests"},{"title":"Responses","description":"Response format and codes","href":"/quotation-api/build/guidelines/responses"}]},{"group":"Reference","pages":[{"title":"Stay quotation","openapi":"quotation-api/open-api/quotation-api.json POST /Planning/2018A/Quotation/GetStayPlanning","href":"/quotation-api/build/reference/stay-quotation"}]},{"title":"Best practices","tag":"★","href":"/quotation-api/build/best-practices"}]},{"group":"Resources","icon":"toolbox","pages":[{"group":"Use cases","pages":[{"title":"Bookable offers showcase","href":"/quotation-api/resources/use-cases/bookable-offers-showcase"},{"title":"Promo code landing","href":"/quotation-api/resources/use-cases/promo-code-landing"}]},{"title":"API collections","tag":"★","href":"/overview/resources/api-collections"},{"title":"Changelog","href":"/quotation-api/resources/changelog"}]}]},{"item":"Daily Rates API","icon":"calendar-days","pages":[{"title":"Daily Rates API","href":"/daily-rates-api/get-started/introduction"}]}]},{"tab":"Booking","icon":"bell-concierge","menu":[{"item":"Booking Engine API","icon":"cart-shopping","pages":[{"title":"Booking Engine API","href":"/booking-engine-api/get-started/introduction"}]},{"item":"Gift Shop API","icon":"gift","pages":[{"title":"Gift Shop API","href":"/gift-shop-api/get-started/introduction"}]}],"pages":[{"title":"Booking","href":"/booking-engine-api/get-started/introduction"}]},{"tab":"Guest Management","icon":"users","menu":[{"item":"CRM API","icon":"address-book","pages":[{"title":"CRM API","href":"/crm-api/get-started/introduction"}]}],"pages":[{"title":"Guest Management","href":"/crm-api/get-started/introduction"}]}]},"basePath":"","title":"Requests - D-EDGE Docs","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}