Submits a list of product codes plus a patientId and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog price is only indicative.
An ineligible order still returns 200, with eligible: false and every failing reason so you can fix them.
Every code you send is returned in lineItems β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with 422, naming it in errorCodes; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns 200.
Returns the authoritative, best-deal price and an eligibility result for a set of product codes and
a patient. Always quote before ordering. An ineligible order returns 200 with eligible: false and
the failing reasons β see Orders.
Every code is priced, or none is
Each code you send comes back in lineItems β priced on its own line, or listed in a bundleβs
coveredCodes. If any code cannot be priced, the whole quote fails with 422 and names it in
errorCodes. You never receive a partial quote whose total quietly under-reports.
π§ Working in progress β a code that cannot be priced is currently dropped from lineItems
and the quote still returns 200 with a lower total. Check that every code you sent came back
before showing the price to a patient.
Best-deal scope (v1): the quote guarantees the cheapest official-bundle combination (ordering
GUT_ZOOMER + VITD_25OH together is priced as the bundle). Other promotions β x-choose-y,
seasonal, conditional discounts β are not yet folded in, and total excludes shipping, tax, and
markup.
Authorizations
Authorization
string
header
required
OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send Authorization: Bearer <access_token>. Request the result and report scopes to read results.
Body
application/json
patientId
integer
required
Id of the patient to quote for.
Example:
477769
testCodes
string[]
required
Product codes to quote (from the catalog).
Example:
["GUT_ZOOMER", "VITD_25OH"]
Response
Eligible quote, or an ineligible result with failing reasons.
Order total. v1: equals bestDealPrice β shipping, tax, and markup excluded (roadmap).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vibrant Wellness Portal API","colors":{"primary":"#0142E2","light":"#94AEF7","dark":"#0142E2"},"logo":{"light":"https://mintcdn.com/vibrant-8ddfe82e/S0AZ5CIJgM1r_bu8/logo/light.svg?fit=max\u0026auto=format\u0026n=S0AZ5CIJgM1r_bu8\u0026q=85\u0026s=7f84f445f8577c8f385caef31ea25d07","dark":"https://mintcdn.com/vibrant-8ddfe82e/S0AZ5CIJgM1r_bu8/logo/dark.svg?fit=max\u0026auto=format\u0026n=S0AZ5CIJgM1r_bu8\u0026q=85\u0026s=e53f111f2c721c1b421bf21a90f932f3"},"favicon":"https://mintcdn.com/vibrant-8ddfe82e/S0AZ5CIJgM1r_bu8/favicon.svg?fit=max\u0026auto=format\u0026n=S0AZ5CIJgM1r_bu8\u0026q=85\u0026s=9f6d347c1739756b1ef5468ed4166985","background":{"color":{"light":"#F3F3F3","dark":"#161616"}},"navbar":{"links":[{"href":"https://portal.vibrant-wellness.com","label":"Portal"}],"primary":{"type":"button","label":"Get credentials","href":"https://portal.vibrant-wellness.com/settings/api-credentials"}},"footer":{"socials":{"x":"https://x.com/vibrantwellness","linkedin":"https://linkedin.com/company/vibrant-wellness"}},"banner":{"content":"Last updated **11-23-2026 14:46 PST**","dismissible":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"signal-bars","href":"https://status.vibrant-wellness.com"},{"anchor":"Changelog","icon":"list-timeline","href":"https://developers.vibrant-wellness.com/changelog"},{"anchor":"Support","icon":"headset","href":"mailto:[email protected]"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vibrant-8ddfe82e","hasAudioNarration":false,"actualSubdomain":"vibrant-8ddfe82e","customDomains":[],"gitSource":{"type":"github","owner":"vibrant-america","repo":"api-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b04d9f744cc743809d82fd5"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b04df3744cc743809d89eef","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"API reference","count":11},{"language":"default","tag":"Endpoints","count":10},{"language":"default","tag":"Core concepts","count":6},{"language":"default","tag":"Platform","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Order","count":3},{"language":"default","tag":"Patient","count":3},{"language":"default","tag":"Help","count":2},{"language":"default","tag":"Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"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":"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":"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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhGq3-OXg.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhPq3-OXg.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhIq3-OXg.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhEq3-OXg.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhFq3-OXg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhLq38.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhGq3-OXg.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhPq3-OXg.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhIq3-OXg.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhEq3-OXg.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhFq3-OXg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhLq38.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--vw-blue: #0142E2;--vw-blue-hover: #0035B8;--vw-blue-50: #F0F4FE;--vw-blue-200: #BFCFFB;--vw-ink: #161616;--vw-page: #F3F3F3;--vw-text: #262626;--vw-text-secondary: #525252;--vw-text-muted: #737373;--vw-surface: #FFFFFF;--vw-line: #E5E5E5;--vw-line-strong: #D4D4D4;--vw-warning-bg: #FDF3E1;--vw-warning-line: #F9E2BF;--vw-diagram-stroke: #161616;--vw-mono: \"Roboto Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}:root.dark{--vw-page: #161616;--vw-diagram-stroke: #A3A3A3;--vw-text: #F3F3F3;--vw-text-secondary: #D4D4D4;--vw-text-muted: #A3A3A3;--vw-surface: #1F1F1F;--vw-line: #2E2E2E;--vw-line-strong: #404040}::selection{background:var(--vw-blue-200);color:var(--vw-ink)}#banner,#sidebar .sidebar-group-header,#sidebar .sidebar-group-header .sidebar-title,#content-area .eyebrow,#table-of-contents h2 button,#table-of-contents-layout h2 button,.mdx-content table th{font-family:var(--vw-mono);font-size:11px;font-weight:400;letter-spacing:0.1em;text-transform:uppercase;text-shadow:none}#sidebar .sidebar-group-header,#sidebar .sidebar-group-header .sidebar-title,#content-area .eyebrow,#table-of-contents h2 button,#table-of-contents-layout h2 button,.mdx-content table th{color:var(--vw-text-muted)}#banner{background:var(--vw-ink);color:#FFFFFF}#banner strong{font-weight:500}.dark #banner{border-bottom:1px solid var(--vw-line)}#navbar-transition{background:var(--vw-surface)!important;border-bottom:1px solid var(--vw-line)}.dark #navbar-transition{background:var(--vw-ink)!important}#navbar .nav-logo{height:24px}#search-bar-entry{background:var(--vw-surface);border-radius:9999px}#topbar-cta-button a{font-family:var(--vw-mono);font-size:12px;font-weight:400;letter-spacing:0.08em;text-transform:uppercase;padding-left:18px;padding-right:18px}#topbar-cta-button a>span.absolute{background:var(--vw-blue);border-radius:9999px}#topbar-cta-button a:hover>span.absolute{background:var(--vw-blue-hover);opacity:1}#page-title{color:var(--vw-ink);font-weight:500;letter-spacing:-0.025em}.dark #page-title{color:#FFFFFF}#page-context-menu>button{background:var(--vw-surface)}#page-context-menu>button:first-child{border-top-left-radius:9999px;border-bottom-left-radius:9999px;padding-left:14px}#page-context-menu>button:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.mdx-content{color:var(--vw-text)}.mdx-content h2,.mdx-content h3,.mdx-content h4{font-weight:500;letter-spacing:-0.02em}html:not(.dark) .mdx-content h2,html:not(.dark) .mdx-content h3,html:not(.dark) .mdx-content h4,html:not(.dark) .mdx-content strong{color:var(--vw-ink)}.mdx-content .card,.mdx-content .callout,.mdx-content .code-block{border-radius:12px}.mdx-content .card{background:var(--vw-surface);border-color:var(--vw-line)}.mdx-content .callout[data-callout-type=\"info\"]{background:var(--vw-surface);border-color:var(--vw-line)}html:not(.dark) .mdx-content .callout[data-callout-type=\"note\"]{background:var(--vw-blue-50);border-color:var(--vw-blue-200)}html:not(.dark) .mdx-content .callout[data-callout-type=\"warning\"]{background:var(--vw-warning-bg);border-color:var(--vw-warning-line)}.mdx-content [data-component-part=\"step-number\"]>div{background:var(--vw-surface);box-shadow:inset 0 0 0 1px var(--vw-line);font-family:var(--vw-mono)}.mdx-content .accordion{background:var(--vw-surface);border-color:var(--vw-line)}.mdx-content :not(.accordion-group)>.accordion{border-radius:12px}.mdx-content .accordion-group{border-color:var(--vw-line);border-radius:12px}.mermaid svg .node rect,.mermaid svg .node polygon,.mermaid svg .node circle{fill:var(--vw-surface)!important;stroke:var(--vw-diagram-stroke)!important;stroke-width:1px!important}.mermaid svg .nodeLabel,.mermaid svg .edgeLabel{color:var(--vw-text)!important}.mermaid svg .flowchart-link{stroke:var(--vw-diagram-stroke)!important}.mermaid svg .arrowMarkerPath{fill:var(--vw-diagram-stroke)!important;stroke:var(--vw-diagram-stroke)!important}.mermaid svg .edgeLabel,.mermaid svg .edgeLabel p,.mermaid svg .edgeLabel span,.mermaid svg .labelBkg{background-color:var(--vw-page)!important}.mermaid svg .edgeLabel rect{fill:var(--vw-page)!important}.mdx-content table th{border-bottom-color:var(--vw-line-strong);padding-bottom:10px}.mdx-content table td{border-bottom-color:var(--vw-line)}#content-container code,#content-container pre,#content-container .font-mono{font-family:var(--vw-mono)}#content-area :not(pre)>code{background:var(--vw-surface);border:1px solid var(--vw-line);border-radius:4px;color:var(--vw-ink);font-weight:400;-webkit-box-decoration-break:clone;box-decoration-break:clone}.dark #content-area :not(pre)>code{background:rgba(255, 255, 255, 0.08);border-color:transparent;color:var(--vw-text)}.mdx-content .code-block{border-color:var(--vw-line)}.tryit-button{border-radius:9999px;font-family:var(--vw-mono);letter-spacing:0.06em;text-transform:uppercase}"}]}
{"page":{"pagePath":"api-reference/pricing/quote","slug":"/api-reference/pricing/quote","pageMetadata":{"title":"Quote","openapi":"POST /quote","description":"Submits a list of product `code`s plus a `patientId` and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog `price` is only indicative.\n\nAn ineligible order still returns `200`, with `eligible: false` and every failing reason so you can fix them.\n\nEvery `code` you send is returned in `lineItems` β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with `422`, naming it in `errorCodes`; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns `200`.","href":"/api-reference/pricing/quote"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, 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(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Submits a list of product \", _jsx(_components.code, {\n children: \"code\"\n }), \"s plus a \", _jsx(_components.code, {\n children: \"patientId\"\n }), \" and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog \", _jsx(_components.code, {\n children: \"price\"\n }), \" is only indicative.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"An ineligible order still returns \", _jsx(_components.code, {\n children: \"200\"\n }), \", with \", _jsx(_components.code, {\n children: \"eligible: false\"\n }), \" and every failing reason so you can fix them.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Every \", _jsx(_components.code, {\n children: \"code\"\n }), \" you send is returned in \", _jsx(_components.code, {\n children: \"lineItems\"\n }), \" β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with \", _jsx(_components.code, {\n children: \"422\"\n }), \", naming it in \", _jsx(_components.code, {\n children: \"errorCodes\"\n }), \"; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns \", _jsx(_components.code, {\n children: \"200\"\n }), \".\"]\n })]\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`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Info,Note}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns the authoritative, best-deal price and an eligibility result for a set of product `,_jsx(_components.code,{children:`code`}),`s and\na patient. Always quote before ordering. An ineligible order returns `,_jsx(_components.code,{children:`200`}),` with `,_jsx(_components.code,{children:`eligible: false`}),` and\nthe failing reasons β see `,_jsx(_components.a,{href:`/concepts/orders#eligibility-failures`,children:`Orders`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`every-code-is-priced-or-none-is`,children:`Every code is priced, or none is`}),`\n`,_jsxs(_components.p,{children:[`Each `,_jsx(_components.code,{children:`code`}),` you send comes back in `,_jsx(_components.code,{children:`lineItems`}),` β priced on its own line, or listed in a bundleβs\n`,_jsx(_components.code,{children:`coveredCodes`}),`. If any code cannot be priced, the whole quote fails with `,_jsx(_components.code,{children:`422`}),` and names it in\n`,_jsx(_components.code,{children:`errorCodes`}),`. You never receive a partial quote whose `,_jsx(_components.code,{children:`total`}),` quietly under-reports.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`π§ `,_jsx(_components.strong,{children:`Working in progress`}),` β a code that cannot be priced is currently dropped from `,_jsx(_components.code,{children:`lineItems`}),`\nand the quote still returns `,_jsx(_components.code,{children:`200`}),` with a lower `,_jsx(_components.code,{children:`total`}),`. Check that every code you sent came back\nbefore showing the price to a patient.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Best-deal scope (v1):`}),` the quote guarantees the cheapest official-bundle combination (ordering\n`,_jsx(_components.code,{children:`GUT_ZOOMER`}),` + `,_jsx(_components.code,{children:`VITD_25OH`}),` together is priced as the bundle). Other promotions β x-choose-y,\nseasonal, conditional discounts β are not yet folded in, and `,_jsx(_components.code,{children:`total`}),` excludes shipping, tax, and\nmarkup.`]})})]})}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":"Quote","openapi":"POST /quote","description":"Submits a list of product `code`s plus a `patientId` and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog `price` is only indicative.\n\nAn ineligible order still returns `200`, with `eligible: false` and every failing reason so you can fix them.\n\nEvery `code` you send is returned in `lineItems` β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with `422`, naming it in `errorCodes`; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns `200`.","href":"/api-reference/pricing/quote"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Every code is priced, or none is","slug":"every-code-is-priced-or-none-is","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createQuote","tags":["Pricing"],"summary":"Get a price quote","description":"Submits a list of product `code`s plus a `patientId` and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog `price` is only indicative.\n\nAn ineligible order still returns `200`, with `eligible: false` and every failing reason so you can fix them.\n\nEvery `code` you send is returned in `lineItems` β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with `422`, naming it in `errorCodes`; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns `200`.","requestBody":"14d5ff6b-79c3-4244-b198-ee055074c83b","responses":{"200":"3229adfb-a6ab-43c9-88f9-e4f0ea67b43c","400":"f330e1d8-ba18-41b1-8572-f402215f081d","401":"6224e390-2c30-4c24-ab2c-30769575ce73","422":"ec4cf760-951e-4c1e-bac3-599b3017bcbb","500":"549111e1-4e06-48a8-b3b9-30d42b419495","502":"457c3a43-43fe-481b-96ed-0748eeda8150"},"method":"post","type":"path","servers":["d2a30c61-023c-4a42-a0d0-4d24ce2907e9","1c8588a7-1767-493a-95e5-0417fc2a699c"],"security":["76c6c3c4-fdf3-4d09-a065-3df88619a129"],"path":"/quote","baseUrlOptions":["https://api.vibrant-america.com/v1","https://api-sandbox.vibrant-america.com/v1"],"title":"Get a price quote","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["patientId","testCodes"],"properties":{"patientId":{"type":"integer","example":477769,"description":"Id of the patient to quote for.","isRequired":true,"uniqueKey":"patientId","typeLabel":"integer"},"testCodes":{"type":"array","items":{"type":"string","uniqueKey":"testCodes.items.[INDEX]","typeLabel":"string"},"example":["GUT_ZOOMER","VITD_25OH"],"description":"Product `code`s to quote (from the catalog).","isRequired":true,"uniqueKey":"testCodes","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"patientId":477769,"testCodes":["GUT_ZOOMER","VITD_25OH"]},"examples":{"Example":{"title":"Example","value":{"patientId":477769,"testCodes":["GUT_ZOOMER","VITD_25OH"]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3229adfb-a6ab-43c9-88f9-e4f0ea67b43c":{"description":"Eligible quote, or an ineligible result with failing reasons.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Eligible quote.","properties":{"quoteId":{"type":"string","description":"Price reference for this quote.","uniqueKey":"oneOf.0.quoteId","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"oneOf.0.currency","typeLabel":"string"},"eligible":{"type":"boolean","enum":[true],"uniqueKey":"oneOf.0.eligible","typeLabel":"enum\u003cboolean>"},"isDbs":{"type":"boolean","description":"Whether this is a dried blood spot (DBS) quote.","example":false,"uniqueKey":"oneOf.0.isDbs","typeLabel":"boolean"},"lineItems":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Product code (present for individually-priced items).","uniqueKey":"oneOf.0.lineItems.items.[INDEX].code","typeLabel":"string"},"itemType":{"type":"string","enum":["test","bundle"],"description":"Whether this line is a single test or a bundle.","uniqueKey":"oneOf.0.lineItems.items.[INDEX].itemType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"oneOf.0.lineItems.items.[INDEX].name","typeLabel":"string"},"price":{"type":"number","uniqueKey":"oneOf.0.lineItems.items.[INDEX].price","typeLabel":"number"},"coveredCodes":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.lineItems.items.[INDEX].coveredCodes.items.[INDEX]","typeLabel":"string"},"description":"For a bundle, the codes folded into it.","uniqueKey":"oneOf.0.lineItems.items.[INDEX].coveredCodes","typeLabel":"string[]"}},"example":{"code":"GUT_ZOOMER","itemType":"test","name":"Gut Zoomer 5.0","price":550},"uniqueKey":"oneOf.0.lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.lineItems","typeLabel":"object[]"},"bestDealPrice":{"type":"number","description":"Best-deal-optimized subtotal (official-bundle cheapest combo; v1).","uniqueKey":"oneOf.0.bestDealPrice","typeLabel":"number"},"total":{"type":"number","description":"Order total. v1: equals bestDealPrice β shipping, tax, and markup excluded (roadmap).","uniqueKey":"oneOf.0.total","typeLabel":"number"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Order cannot be placed as submitted.","properties":{"eligible":{"type":"boolean","enum":[false],"uniqueKey":"oneOf.1.eligible","typeLabel":"enum\u003cboolean>"},"failures":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable reason. Non-exhaustive β tolerate unknown future codes and fall back to `reason`.","enum":["PatientNotFound","CustomerNotFound","PatientNotInClinic","IncompletePatientInfo","ProzFollowupNoPreviousOrder","SkincareFollowupNoPreviousOrder","GeneticTestAlreadyOrdered","PFSAMaleOnly"],"example":"IncompletePatientInfo","uniqueKey":"oneOf.1.failures.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","example":"patient 123456 is missing required information: address","uniqueKey":"oneOf.1.failures.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"oneOf.1.failures.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.failures","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"eligible":{"title":"eligible","summary":"Eligible","value":{"quoteId":"qte_01HZ7M3K2N8R9Q","currency":"usd","eligible":true,"lineItems":[{"itemType":"bundle","name":"Gut Zoomer + Vitamin D Bundle","price":800,"coveredCodes":["GUT_ZOOMER","VITD_25OH"]}],"bestDealPrice":800,"total":800}},"ineligible":{"title":"ineligible","summary":"Ineligible","value":{"eligible":false,"failures":[{"code":"IncompletePatientInfo","reason":"patient 123456 is missing required information: address"}]}}},"example":{"quoteId":"Q-1784681889178172779","currency":"usd","eligible":true,"isDbs":false,"lineItems":[{"code":"GUT_ZOOMER","itemType":"test","name":"Gut Zoomer 5.0","price":550}],"bestDealPrice":550,"total":550},"exampleType":"examples"}},"exampleType":"examples"},"f330e1d8-ba18-41b1-8572-f402215f081d":{"description":"The request was invalid.","content":{"application/json":{"schema":{"type":"object","description":"π§ Working in progress β this envelope is the contract; not yet returned by every endpoint.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier for this request. Include it when contacting support. Also returned on every response as the X-Request-Id header.","example":"req_01JQ8ZC5X9K2MN","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Optional structured context.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"invalid_request","message":"One or more testCodes were not recognized.","requestId":"req_01JQ8ZC5X9K2MN","details":[{"unknownCodes":["FOO_BAR"]}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"One or more testCodes were not recognized.","requestId":"req_01JQ8ZC5X9K2MN","details":[{"unknownCodes":["FOO_BAR"]}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"6224e390-2c30-4c24-ab2c-30769575ce73":{"description":"Not authenticated. See Authentication.","content":{"application/json":{"schema":{"type":"object","description":"π§ Working in progress β this envelope is the contract; not yet returned by every endpoint.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier for this request. Include it when contacting support. Also returned on every response as the X-Request-Id header.","example":"req_01JQ8ZC5X9K2MN","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Optional structured context.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"unauthorized","message":"Not authenticated.","requestId":"req_01JQ8ZC5X9K2MN"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"Not authenticated.","requestId":"req_01JQ8ZC5X9K2MN"}}}},"exampleType":"examples"}},"exampleType":"examples"},"ec4cf760-951e-4c1e-bac3-599b3017bcbb":{"description":"One or more codes could not be priced. No partial quote is returned.","content":{"application/json":{"schema":{"type":"object","description":"Order understood but not placed. Nothing charged.","properties":{"status":{"type":"string","enum":["ineligible","rejected"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"failures":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable reason. Non-exhaustive β tolerate unknown future codes and fall back to `reason`.","enum":["PatientNotFound","CustomerNotFound","PatientNotInClinic","IncompletePatientInfo","ProzFollowupNoPreviousOrder","SkincareFollowupNoPreviousOrder","GeneticTestAlreadyOrdered","PFSAMaleOnly"],"example":"IncompletePatientInfo","uniqueKey":"failures.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","example":"patient 123456 is missing required information: address","uniqueKey":"failures.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"failures.items.[INDEX]","typeLabel":"object"},"description":"One entry per failed eligibility rule (status = ineligible).","uniqueKey":"failures","typeLabel":"object[]"},"reason":{"type":"string","description":"Build-failure reason, e.g. `unrecognized_test_codes` or `provider_scope_mismatch` (status = rejected).","uniqueKey":"reason","typeLabel":"string"},"errorCodes":{"type":"array","items":{"type":"string","uniqueKey":"errorCodes.items.[INDEX]","typeLabel":"string"},"description":"Unrecognized test codes, when applicable (status = rejected).","uniqueKey":"errorCodes","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"rejected","reason":"no_orderable_items","errorCodes":["APOE_SALIVA"]},"examples":{"Example":{"title":"Example","value":{"status":"rejected","reason":"no_orderable_items","errorCodes":["APOE_SALIVA"]}}},"exampleType":"examples"}},"exampleType":"examples"},"549111e1-4e06-48a8-b3b9-30d42b419495":{"description":"Something went wrong on our side. Safe to retry (idempotent endpoints: reuse the same placerId).","content":{"application/json":{"schema":{"type":"object","description":"π§ Working in progress β this envelope is the contract; not yet returned by every endpoint.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier for this request. Include it when contacting support. Also returned on every response as the X-Request-Id header.","example":"req_01JQ8ZC5X9K2MN","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Optional structured context.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"internal_error","message":"Unexpected error.","requestId":"req_01JQ8ZC5X9K2MN"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"internal_error","message":"Unexpected error.","requestId":"req_01JQ8ZC5X9K2MN"}}}},"exampleType":"examples"}},"exampleType":"examples"},"457c3a43-43fe-481b-96ed-0748eeda8150":{"description":"A downstream dependency was unreachable.","content":{"application/json":{"schema":{"type":"object","description":"π§ Working in progress β this envelope is the contract; not yet returned by every endpoint.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier for this request. Include it when contacting support. Also returned on every response as the X-Request-Id header.","example":"req_01JQ8ZC5X9K2MN","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Optional structured context.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"dependency_unavailable","message":"Eligibility service unavailable; no quote produced.","requestId":"req_01JQ8ZC5X9K2MN"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"dependency_unavailable","message":"Eligibility service unavailable; no quote produced.","requestId":"req_01JQ8ZC5X9K2MN"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"76c6c3c4-fdf3-4d09-a065-3df88619a129":{"oauth2":{"type":"oauth2","description":"OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send `Authorization: Bearer \u003caccess_token>`. Request the `result` and `report` scopes to read results.","flows":{"clientCredentials":{"tokenUrl":"https://api.vibrant-america.com/v1/oauth2/token","scopes":{"result":"Read finalized lab results","report":"Read report status and issues"}}},"scopes":[],"schemeName":"oauth2"}}},"servers":{"d2a30c61-023c-4a42-a0d0-4d24ce2907e9":{"url":"https://api.vibrant-america.com/v1","description":"Production"},"1c8588a7-1767-493a-95e5-0417fc2a699c":{"url":"https://api-sandbox.vibrant-america.com/v1","description":"Staging (sandbox)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send `Authorization: Bearer \u003caccess_token>`. Request the `result` and `report` scopes to read results.","flows":{"clientCredentials":{"tokenUrl":"https://api.vibrant-america.com/v1/oauth2/token","scopes":{"result":"Read finalized lab results","report":"Read report status and issues"}}},"scopes":[],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send `Authorization: Bearer \u003caccess_token>`. Request the `result` and `report` scopes to read results.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"vibrant-8ddfe82e","siteName":"Vibrant Wellness Portal API","title":"Quote - Vibrant Wellness Portal API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T00:49:59.944Z","originalFileLocation":"api-reference/pricing/quote.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=\"Submits a list of product codes plus a patientId and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog price is only indicative. An ineligible order still returns 200, with eligible: false and every failing reason so you can fix them. Every code you send is returned in lineItems β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with 422, naming it in errorCodes; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns 200.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vibrant Wellness Portal API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quote - Vibrant Wellness Portal API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submits a list of product codes plus a patientId and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog price is only indicative. An ineligible order still returns 200, with eligible: false and every failing reason so you can fix them. Every code you send is returned in lineItems β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with 422, naming it in errorCodes; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns 200.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vibrant Wellness Portal API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vibrant-8ddfe82e.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Quote\u0026amp;description=Submits+a+list+of+product+%60code%60s+plus+a+%60patientId%60+and+returns+the+authoritative%2C+best-deal-optimized+price+%E2%80%94+after+running+an+eligibility+check+for+the+patie\u0026amp;theme=0d61504044ce1c182aeab1ce\u0026amp;signature=db6b1c3f31b4a08853ebabd21ef0c4c4cd7aed71c42f63f9535ab24af690774c\">\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=\"Quote - Vibrant Wellness Portal API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submits a list of product codes plus a patientId and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog price is only indicative. An ineligible order still returns 200, with eligible: false and every failing reason so you can fix them. Every code you send is returned in lineItems β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with 422, naming it in errorCodes; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns 200.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vibrant-8ddfe82e.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Quote\u0026amp;description=Submits+a+list+of+product+%60code%60s+plus+a+%60patientId%60+and+returns+the+authoritative%2C+best-deal-optimized+price+%E2%80%94+after+running+an+eligibility+check+for+the+patie\u0026amp;theme=0d61504044ce1c182aeab1ce\u0026amp;signature=db6b1c3f31b4a08853ebabd21ef0c4c4cd7aed71c42f63f9535ab24af690774c\">\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/vibrant-8ddfe82e/UJF0sQwLZAnu87TD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vibrant Wellness Portal API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0142E2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pricing/quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/#organization\",\"name\":\"Vibrant Wellness Portal API\",\"url\":\"https://vibrant-8ddfe82e.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vibrant-8ddfe82e/S0AZ5CIJgM1r_bu8/logo/light.svg?fit=max\u0026auto=format\u0026n=S0AZ5CIJgM1r_bu8\u0026q=85\u0026s=7f84f445f8577c8f385caef31ea25d07\"}},{\"@type\":\"WebSite\",\"@id\":\"https://vibrant-8ddfe82e.mintlify.app#website\",\"name\":\"Vibrant Wellness Portal API\",\"url\":\"https://vibrant-8ddfe82e.mintlify.app\",\"publisher\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote#webpage\",\"url\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote\",\"name\":\"Quote\",\"description\":\"Submits a list of product codes plus a patientId and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog price is only indicative. An ineligible order still returns 200, with eligible: false and every failing reason so you can fix them. Every code you send is returned in lineItems β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with 422, naming it in errorCodes; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns 200.\",\"dateModified\":\"2026-11-24T00:49:59.944Z\",\"isPartOf\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/catalog/list-products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quote\",\"item\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote#apireference\",\"headline\":\"Quote\",\"name\":\"Quote\",\"description\":\"Submits a list of product codes plus a patientId and returns the authoritative, best-deal-optimized price β after running an eligibility check for the patient. Always quote before ordering: catalog price is only indicative. An ineligible order still returns 200, with eligible: false and every failing reason so you can fix them. Every code you send is returned in lineItems β priced individually or covered by a bundle. If any code cannot be priced the whole quote fails with 422, naming it in errorCodes; a partial quote is never returned. π§ Working in progress β unpriceable codes are currently dropped and the quote still returns 200.\",\"url\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote\",\"mainEntityOfPage\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/pricing/quote#webpage\"},\"dateModified\":\"2026-11-24T00:49:59.944Z\",\"publisher\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vibrant Wellness Portal API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vibrant Wellness Portal API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/pricing/quote.md","siteName":"Vibrant Wellness Portal API","nav":{"global":{"anchors":[{"anchor":"Status","icon":"signal-bars","href":"https://status.vibrant-wellness.com"},{"anchor":"Changelog","icon":"list-timeline","href":"https://developers.vibrant-wellness.com/changelog"},{"anchor":"Support","icon":"headset","href":"mailto:[email protected]"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"title":"Catalog","openapi":"GET /catalog/products","description":"Returns the full catalog of orderable products (individual tests and panels). Each product is keyed by a stable external `code` β use that same `code` in `/quote` and `/orders`. The full catalog is returned in one response (no pagination); cache it and refresh periodically.","href":"/api-reference/catalog/list-products"},{"title":"Quote","openapi":"POST /quote","href":"/api-reference/pricing/quote"},{"group":"Patient","pages":[{"title":"List patients","sidebarTitle":"List","openapi":"GET /patients","description":"Returns the patients on your account, whether or not they have ever ordered. Scope comes entirely from your token. Pass `patientId` to fetch specific patients instead β one id or a comma-separated list.\n\nPatients have the same shape here as everywhere else in the API, so a record you read can be sent straight back to `PUT /patients` with the parts you changed. A field with no value is `null` β never an empty string or a missing key β and `address` itself is `null` when the patient has none.","href":"/api-reference/patients/list"},{"title":"Create a patient","sidebarTitle":"Create","openapi":"POST /patients","href":"/api-reference/patients/create"},{"title":"Update a patient","sidebarTitle":"Update","openapi":"PUT /patients","href":"/api-reference/patients/update"}]},{"title":"Provider","openapi":"POST /providers","href":"/api-reference/providers/create"},{"group":"Order","pages":[{"title":"Order","openapi":"POST /orders","href":"/api-reference/orders/place"},{"title":"Get orders","sidebarTitle":"Status \u0026 history","openapi":"GET /orders","href":"/api-reference/orders/status"},{"title":"Cancel an order","sidebarTitle":"Cancel","openapi":"POST /orders/cancel","href":"/api-reference/orders/cancel"}]},{"title":"Report","openapi":"GET /report/fhir/{id}","href":"/api-reference/reports/get"}]}]}]},"basePath":"","title":"Quote - Vibrant Wellness Portal API","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-CoLHY196.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js"]}