List mode is available in sandbox for integration testing.
One endpoint, two questions.
Lookup — send orderIdorplacerId (one, not both): the full OrderStatus — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. WIP: cancellation eligibility and fee preview are not available yet; cancellation is currently null except for orders already known to be cancelled. The Cancel endpoint is available.
List — send any combination of patientId and from/to, or no filters at all: pages of order summaries for your clinic, including orders placed through the Vibrant Portal. Portal-placed rows have nullorderId/placerId — anchor on accessionId, which is the id the Report endpoint takes.
Mixing lookup and list parameters is a 400.
Cancellation: when the order’s top-level status is cancelled, the whole order is terminal. Stop waiting for or polling results regardless of nested report.status or progress counts. The Report endpoint also uses a top-level cancelled status; you do not need to query both endpoints to confirm cancellation.
Webhooks notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. WIP — coming soon: looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns 403 with not_placed_via_api; an order of another clinic returns 404.
Pages of order summaries — one patient’s history, or the whole clinic
Mixing lookup and list parameters is a 400.
Look up one order
Look up an order’s lifecycle, kit shipping details, lab receipt, report readiness, and open
exceptions. Cancellation information is returned when available; see
Cancellation preview.The identifier is the orderId from Place an orderor your own
placerId — auto-detected, the same way the Report endpoint accepts a barcode or a sampleId.
Why this exists
Use a lookup to track an existing order or check its state after a placement request times out.
If you retry placement, reuse the same placerId.
Look up by accessionId
WIP — coming soon. This lookup is not available yet, and its shape may change.
GET /orders?accessionId=2508088888 will look up an order by the accessionId that
webhook events carry. Send exactly one of orderId, placerId, or
accessionId.For now, it covers only orders placed through this API:
The order
Response
Placed through this API, in your clinic
200 with the order status, the same as an orderId or placerId lookup
Placed in the Vibrant Portal, in your clinic
403 with error.code: "not_placed_via_api"
In another clinic, or not found
404, the same as the other lookups
403
{ "error": { "code": "not_placed_via_api", "message": "This order was not placed through the API. Only orders placed through the API can be looked up or cancelled with the API.", "requestId": "req_01JQ8ZC5X9K2MN" }}
For an order placed in the Portal, use its accessionId with the
Report endpoint.
One status, four things
Block
Answers
status
Where the order is: placed → kit_shipped → kit_delivered → sample_in_transit → sample_received → analyzing → report_available (or cancelled).
kit
Kit shipping status, carrier, tracking number, and scan times. null when shipping details are unavailable.
lab
Has the lab received the sample? sample_received is the point of no return for cancellation.
report
Report readiness: registered, preliminary, final, or unknown, plus generated and total report counts. Use the order’s top-level status for cancellation.
exceptions
Anything holding it up — redraw, waiver, questionnaire. Vibrant resolves these automatically; see Exceptions.
cancellation
Cancellation information when available. Eligibility and fee preview remain WIP; see Cancellation preview.
Placement status
A lookup can also return these values in the order’s top-level status:
Status
Meaning and next step
processing
Placement has not completed. Query again; if you retry placement, reuse the same placerId.
rejected
The placement request was rejected. Correct the request and retry with the same placerId.
failed
Placement failed. Retry with the same placerId.
dry_run
A placement record created in dry-run mode.
Kit shipping details
When available, kit contains these five fields:
Field
Meaning
status
not_shipped, shipped, in_transit, or delivered.
carrier
Carrier name, e.g. FedEx or DHL.
trackingNumber
Tracking number for the shipment.
shippedAt
UTC timestamp of the carrier’s pickup scan.
deliveredAt
UTC timestamp of the carrier’s delivery scan; null until delivered.
When kit.status is not_shipped, carrier, shippedAt, and deliveredAt are null.
If carrier tracking details are unavailable, carrier and deliveredAt may also be null.
Shipping details are not available in sandbox, so kit is always null. Coming soon: orders
moved by the order simulator will include them.
Cancellation status
When the order’s top-level status is cancelled, the whole order is terminal. Stop waiting for
or polling results, regardless of the nested report.status or progress counts. For example,
report.status: "registered" does not mean that results are still pending on a cancelled order.The Report endpoint also indicates cancellation in its top-level
DiagnosticReport.status. Use the top-level status of the endpoint you call; you do not need to
query both endpoints to confirm cancellation or wait for nested report statuses to change.
Cancellation preview
WIP — coming soon: cancellation eligibility and fee preview are not available yet.
cancellation is currently null, except when an order is already known to be cancelled;
that case can return cancellable: false with reason: "already_cancelled".
A null value does not indicate whether cancellation is allowed or free.
The Cancel endpoint is available. Cancellation is free before
the kit ships, costs $25 after shipment, and is not allowed once the lab receives the sample.
Shipping exceptions and carrier tracking
Delivery exceptions do not have a separate order lifecycle value. An exception on the outbound
kit is reported as kit_shipped; an exception on the return shipment is reported as
sample_in_transit. These stages do not distinguish routine transit from a carrier delivery
exception.When a tracking number is available, use kit.trackingNumber with the appropriate carrier’s
tracking API for more complete, current carrier-reported scan events and exception details,
including weather delays and failed delivery attempts. Track the shipment identified by that
number.See FedEx tracking API or
DHL shipment tracking API. Carrier APIs have their own
authentication requirements.
Webhooks notify you of order, kit, and report changes for every order of
your clinic, including Portal-created orders. Webhook events use their own status values, not
the values on this page, and identify the order only by a string accessionId. See
Look up by accessionId (coming soon).
List orders
Every order in your clinic — placed through this API or through the Vibrant Portal. All filters
are optional and combine (AND):
Filter
Effect
(none)
The whole clinic, newest first — one paginated sweep is a full backfill.
patientId
One patient’s complete order history. Outside your clinic → 404; no orders yet → 200 with an empty list.
from / to
Window on orderedAt, half-open (from <= orderedAt < to), each usable alone. One sweep’s to is the next sweep’s from — incremental syncs never miss or double-count an order.
Dates are ISO 8601, UTC; a bare date means 00:00:00Z that day. An empty range (from >= to) is a
400 rather than a silently empty result.Pagination and sorting work exactly as on List patients: page
(default 1), perPage (default 20, max 100), sortBy (orderedAt), sortOrder (default desc).
Values of perPage above 100 are capped at 100. The response’s perPage shows the effective page size.
count is the total match count, not the page size.
Rows are summaries: identity plus the order’s lifecycle status. For what’s happening inside
an order — kit, lab, report, cancellation —
look it up.
Portal-placed orders have null for both orderId and placerId — those two ids exist only
for orders placed through this API. Anchor on accessionId (or sampleId), which every order
has. In list responses, accessionId is a string; pass it unchanged to
Get report. testCodes
is null where a Portal order’s items have no catalog-code equivalent.
From history to reports
A patient’s past results are two steps: list their orders here, then fetch each row’s accessionId
from the Report endpoint. For a whole-clinic backfill, sweep the
unfiltered list once, then pace the report pulls — report fetching is rate-limited (429 with
Retry-After), and it, not the sweep, is the long pole.
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.
Query Parameters
orderId
string
Lookup mode: the orderId returned by POST /orders. Send this or placerId, not both.
placerId
string
Lookup mode: the placerId the order was placed with. Send this or orderId, not both.
patientId
integer
List mode: only this patient’s orders. A patientId outside your clinic is a 404; a patient with no orders is a 200 with an empty list.
from
string<date-time>
List mode: orderedAt >= from. ISO 8601, UTC; a bare date means 00:00:00Z that day.
to
string<date-time>
List mode: orderedAt < to (half-open, so one sweep’s to is the next sweep’s from). An empty range (from >= to) is a 400.
page
integer
default:1
List mode: page number.
Required range: x >= 1
perPage
integer
default:20
List mode: requested rows per page. Values above 100 are capped at 100; the response's perPage shows the effective page size.
Required range: x >= 1
sortBy
enum<string>
default:orderedAt
List mode: sort field.
Available options:
orderedAt
sortOrder
enum<string>
default:desc
List mode: sort direction.
Available options:
asc,
desc
Response
Lookup: the order’s current state. List: one page of order summaries.
Option 1
Option 2
Order lifecycle, kit shipping, lab receipt, report readiness, cancellation information when available, and exceptions. Webhooks report order changes with their own status values; they are not the values of this object.
orderId
string
UUID assigned at placement.
Example:
"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09"
placerId
string
Your own id for the order.
Example:
"VENDOR-ORDER-12345"
accessionId
integer
Barcode — use it to fetch the report.
Example:
"2508088888"
patientId
integer
Example:
750123
status
enum<string>
Order lifecycle. A lookup can return processing (placement not completed), rejected (correct the request before retrying), failed (retry placement), or dry_run (a placement record created in dry-run mode). Reuse the same placerId when retrying placement. kit_delivered means the outbound kit has reached the patient. sample_received is lab receipt, after which the order can no longer be cancelled. A top-level cancelled status is terminal for the whole order: stop waiting for or polling results regardless of nested report readiness or progress counts.
Available options:
processing,
rejected,
failed,
dry_run,
placed,
kit_shipped,
kit_delivered,
sample_in_transit,
sample_received,
analyzing,
report_available,
cancelled
Example:
"sample_received"
kit
object | null
Kit shipping details, or null when unavailable. Shipping details are not available in sandbox, so kit is always null.
Show child attributes
lab
object
Lab receipt of the patient's sample.
Show child attributes
report
object
Report readiness and progress counts. Use the order's top-level status to determine cancellation.
Show child attributes
cancellation
object | null
WIP — cancellation eligibility and fee preview are not available yet. This block is currently null, except when an order is already known to be cancelled; that case can return cancellable: false and reason: already_cancelled. Null does not indicate whether cancellation is allowed or free.
Show child attributes
exceptions
object[]
Open exceptions. Empty array when there are none.
Show child attributes
updatedAt
string<date-time>
Example:
"2026-06-16T09:00:03Z"
{"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/orders/status","slug":"/api-reference/orders/status","pageMetadata":{"title":"Get orders","sidebarTitle":"Status \u0026 history","openapi":"GET /orders","description":"List mode is available in sandbox for integration testing.\n\nOne endpoint, two questions.\n\n**Lookup** — send `orderId` **or** `placerId` (one, not both): the full **OrderStatus** — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. **WIP:** cancellation eligibility and fee preview are not available yet; `cancellation` is currently null except for orders already known to be cancelled. The [Cancel endpoint](/api-reference/orders/cancel) is available.\n\n**List** — send any combination of `patientId` and `from`/`to`, or no filters at all: pages of order summaries for your clinic, **including orders placed through the Vibrant Portal**. Portal-placed rows have `null` `orderId`/`placerId` — anchor on `accessionId`, which is the id the Report endpoint takes.\n\nMixing lookup and list parameters is a `400`.\n\n**Cancellation:** when the order's top-level `status` is `cancelled`, the whole order is terminal. Stop waiting for or polling results regardless of nested `report.status` or progress counts. The Report endpoint also uses a top-level `cancelled` status; you do not need to query both endpoints to confirm cancellation.\n\n[Webhooks](/concepts/webhooks) notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. **WIP — coming soon:** looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns `403` with `not_placed_via_api`; an order of another clinic returns `404`.","href":"/api-reference/orders/status"},"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 a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"List mode is available in sandbox for integration testing.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"One endpoint, two questions.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Lookup\"\n }), \" — send \", _jsx(_components.code, {\n children: \"orderId\"\n }), \" \", _jsx(_components.strong, {\n children: \"or\"\n }), \" \", _jsx(_components.code, {\n children: \"placerId\"\n }), \" (one, not both): the full \", _jsx(_components.strong, {\n children: \"OrderStatus\"\n }), \" — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. \", _jsx(_components.strong, {\n children: \"WIP:\"\n }), \" cancellation eligibility and fee preview are not available yet; \", _jsx(_components.code, {\n children: \"cancellation\"\n }), \" is currently null except for orders already known to be cancelled. The \", _jsx(_components.a, {\n href: \"/api-reference/orders/cancel\",\n children: \"Cancel endpoint\"\n }), \" is available.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"List\"\n }), \" — send any combination of \", _jsx(_components.code, {\n children: \"patientId\"\n }), \" and \", _jsx(_components.code, {\n children: \"from\"\n }), \"/\", _jsx(_components.code, {\n children: \"to\"\n }), \", or no filters at all: pages of order summaries for your clinic, \", _jsx(_components.strong, {\n children: \"including orders placed through the Vibrant Portal\"\n }), \". Portal-placed rows have \", _jsx(_components.code, {\n children: \"null\"\n }), \" \", _jsx(_components.code, {\n children: \"orderId\"\n }), \"/\", _jsx(_components.code, {\n children: \"placerId\"\n }), \" — anchor on \", _jsx(_components.code, {\n children: \"accessionId\"\n }), \", which is the id the Report endpoint takes.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Mixing lookup and list parameters is a \", _jsx(_components.code, {\n children: \"400\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Cancellation:\"\n }), \" when the order’s top-level \", _jsx(_components.code, {\n children: \"status\"\n }), \" is \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \", the whole order is terminal. Stop waiting for or polling results regardless of nested \", _jsx(_components.code, {\n children: \"report.status\"\n }), \" or progress counts. The Report endpoint also uses a top-level \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \" status; you do not need to query both endpoints to confirm cancellation.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.a, {\n href: \"/concepts/webhooks\",\n children: \"Webhooks\"\n }), \" notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. \", _jsx(_components.strong, {\n children: \"WIP — coming soon:\"\n }), \" looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns \", _jsx(_components.code, {\n children: \"403\"\n }), \" with \", _jsx(_components.code, {\n children: \"not_placed_via_api\"\n }), \"; an order of another clinic returns \", _jsx(_components.code, {\n children: \"404\"\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`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`List mode is available in sandbox.`}),` Query a patient’s order history for integration testing.`]})}),`\n`,_jsx(_components.p,{children:`One endpoint, two questions:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Mode`}),_jsx(_components.th,{style:{textAlign:`left`},children:`You send`}),_jsx(_components.th,{style:{textAlign:`left`},children:`You get`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:_jsx(_components.a,{href:`#look-up-one-order`,children:`Lookup`})})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`?orderId=`}),` `,_jsx(_components.strong,{children:`or`}),` `,_jsx(_components.code,{children:`?placerId=`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The full `,_jsx(_components.a,{href:`#one-status-four-things`,children:`order status`}),` — one object`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:_jsx(_components.a,{href:`#list-orders`,children:`List`})})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`?patientId=`}),`, `,_jsx(_components.code,{children:`?from=`}),`/`,_jsx(_components.code,{children:`?to=`}),`, any mix — or nothing`]}),_jsx(_components.td,{style:{textAlign:`left`},children:`Pages of order summaries — one patient’s history, or the whole clinic`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Mixing lookup and list parameters is a `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`look-up-one-order`,children:`Look up one order`}),`\n`,_jsxs(_components.p,{children:[`Look up an order’s lifecycle, kit shipping details, lab receipt, report readiness, and open\nexceptions. Cancellation information is returned when available; see\n`,_jsx(_components.a,{href:`#cancellation-preview`,children:`Cancellation preview`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The identifier is the `,_jsx(_components.code,{children:`orderId`}),` from `,_jsx(_components.a,{href:`/api-reference/orders/place`,children:`Place an order`}),` `,_jsxs(_components.strong,{children:[`or your own\n`,_jsx(_components.code,{children:`placerId`})]}),` — auto-detected, the same way the Report endpoint accepts a barcode or a `,_jsx(_components.code,{children:`sampleId`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`why-this-exists`,children:`Why this exists`}),`\n`,_jsxs(_components.p,{children:[`Use a lookup to track an existing order or check its state after a placement request times out.\nIf you retry placement, reuse the same `,_jsx(_components.code,{children:`placerId`}),`.`]}),`\n`,_jsxs(Heading,{level:`3`,id:`look-up-by-accessionid`,children:[`Look up by `,_jsx(_components.code,{children:`accessionId`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`WIP — coming soon.`}),` This lookup is not available yet, and its shape may change.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /orders?accessionId=2508088888`}),` will look up an order by the `,_jsx(_components.code,{children:`accessionId`}),` that\n`,_jsx(_components.a,{href:`/concepts/webhooks`,children:`webhook`}),` events carry. Send exactly one of `,_jsx(_components.code,{children:`orderId`}),`, `,_jsx(_components.code,{children:`placerId`}),`, or\n`,_jsx(_components.code,{children:`accessionId`}),`.`]}),`\n`,_jsx(_components.p,{children:`For now, it covers only orders placed through this API:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`The order`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Response`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Placed through this API, in your clinic`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`200`}),` with the order status, the same as an `,_jsx(_components.code,{children:`orderId`}),` or `,_jsx(_components.code,{children:`placerId`}),` lookup`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Placed in the Vibrant Portal, in your clinic`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`403`}),` with `,_jsx(_components.code,{children:`error.code: \"not_placed_via_api\"`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`In another clinic, or not found`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`404`}),`, the same as the other lookups`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:`403`,numberOfLines:`7`,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:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"not_placed_via_api\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This order was not placed through the API. Only orders placed through the API can be looked up or cancelled with the API.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_01JQ8ZC5X9K2MN\"`})]}),`\n`,_jsx(_components.span,{className:`line`,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:[`For an order placed in the Portal, use its `,_jsx(_components.code,{children:`accessionId`}),` with the\n`,_jsx(_components.a,{href:`/api-reference/reports/get`,children:`Report endpoint`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`one-status-four-things`,children:`One status, four things`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Block`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Answers`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Where the order is: `,_jsx(_components.code,{children:`placed`}),` → `,_jsx(_components.code,{children:`kit_shipped`}),` → `,_jsx(_components.code,{children:`kit_delivered`}),` → `,_jsx(_components.code,{children:`sample_in_transit`}),` → `,_jsx(_components.code,{children:`sample_received`}),` → `,_jsx(_components.code,{children:`analyzing`}),` → `,_jsx(_components.code,{children:`report_available`}),` (or `,_jsx(_components.code,{children:`cancelled`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`kit`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Kit shipping status, carrier, tracking number, and scan times. `,_jsx(_components.code,{children:`null`}),` when shipping details are unavailable.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`lab`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Has the lab received the sample? `,_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`sample_received`}),` is the point of no return`]}),` for cancellation.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`report`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Report readiness: `,_jsx(_components.code,{children:`registered`}),`, `,_jsx(_components.code,{children:`preliminary`}),`, `,_jsx(_components.code,{children:`final`}),`, or `,_jsx(_components.code,{children:`unknown`}),`, plus generated and total report counts. Use the order’s top-level `,_jsx(_components.code,{children:`status`}),` for cancellation.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`exceptions`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Anything holding it up — redraw, waiver, questionnaire. Vibrant resolves these automatically; see `,_jsx(_components.a,{href:`/concepts/exceptions`,children:`Exceptions`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`cancellation`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Cancellation information when available. Eligibility and fee preview remain WIP; see `,_jsx(_components.a,{href:`#cancellation-preview`,children:`Cancellation preview`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`placement-status`,children:`Placement status`}),`\n`,_jsxs(_components.p,{children:[`A lookup can also return these values in the order’s top-level `,_jsx(_components.code,{children:`status`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Status`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Meaning and next step`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`processing`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Placement has not completed. Query again; if you retry placement, reuse the same `,_jsx(_components.code,{children:`placerId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`rejected`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The placement request was rejected. Correct the request and retry with the same `,_jsx(_components.code,{children:`placerId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`failed`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Placement failed. Retry with the same `,_jsx(_components.code,{children:`placerId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`dry_run`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`A placement record created in dry-run mode.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`kit-shipping-details`,children:`Kit shipping details`}),`\n`,_jsxs(_components.p,{children:[`When available, `,_jsx(_components.code,{children:`kit`}),` contains these five fields:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Field`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`not_shipped`}),`, `,_jsx(_components.code,{children:`shipped`}),`, `,_jsx(_components.code,{children:`in_transit`}),`, or `,_jsx(_components.code,{children:`delivered`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`carrier`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Carrier name, e.g. FedEx or DHL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`trackingNumber`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Tracking number for the shipment.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`shippedAt`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`UTC timestamp of the carrier’s pickup scan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`deliveredAt`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`UTC timestamp of the carrier’s delivery scan; `,_jsx(_components.code,{children:`null`}),` until delivered.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`kit.status`}),` is `,_jsx(_components.code,{children:`not_shipped`}),`, `,_jsx(_components.code,{children:`carrier`}),`, `,_jsx(_components.code,{children:`shippedAt`}),`, and `,_jsx(_components.code,{children:`deliveredAt`}),` are `,_jsx(_components.code,{children:`null`}),`.\nIf carrier tracking details are unavailable, `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`deliveredAt`}),` may also be `,_jsx(_components.code,{children:`null`}),`.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Shipping details are not available in sandbox, so `,_jsx(_components.code,{children:`kit`}),` is always `,_jsx(_components.code,{children:`null`}),`. Coming soon: orders\nmoved by the `,_jsx(_components.a,{href:`/platform/sandbox-simulator`,children:`order simulator`}),` will include them.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`cancellation-status`,children:`Cancellation status`}),`\n`,_jsxs(_components.p,{children:[`When the order’s top-level `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`cancelled`}),`, the whole order is terminal. Stop waiting for\nor polling results, regardless of the nested `,_jsx(_components.code,{children:`report.status`}),` or progress counts. For example,\n`,_jsx(_components.code,{children:`report.status: \"registered\"`}),` does not mean that results are still pending on a cancelled order.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/api-reference/reports/get`,children:`Report endpoint`}),` also indicates cancellation in its top-level\n`,_jsx(_components.code,{children:`DiagnosticReport.status`}),`. Use the top-level status of the endpoint you call; you do not need to\nquery both endpoints to confirm cancellation or wait for nested report statuses to change.`]}),`\n`,_jsx(Heading,{level:`3`,id:`cancellation-preview`,children:`Cancellation preview`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`WIP — coming soon:`}),` cancellation eligibility and fee preview are not available yet.\n`,_jsx(_components.code,{children:`cancellation`}),` is currently `,_jsx(_components.code,{children:`null`}),`, except when an order is already known to be cancelled;\nthat case can return `,_jsx(_components.code,{children:`cancellable: false`}),` with `,_jsx(_components.code,{children:`reason: \"already_cancelled\"`}),`.\nA `,_jsx(_components.code,{children:`null`}),` value does not indicate whether cancellation is allowed or free.`]})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/api-reference/orders/cancel`,children:`Cancel endpoint`}),` is available. Cancellation is free before\nthe kit ships, costs `,_jsx(_components.strong,{children:`$25`}),` after shipment, and is not allowed once the lab receives the sample.`]}),`\n`,_jsx(Heading,{level:`3`,id:`shipping-exceptions-and-carrier-tracking`,children:`Shipping exceptions and carrier tracking`}),`\n`,_jsxs(_components.p,{children:[`Delivery exceptions do not have a separate order lifecycle value. An exception on the outbound\nkit is reported as `,_jsx(_components.code,{children:`kit_shipped`}),`; an exception on the return shipment is reported as\n`,_jsx(_components.code,{children:`sample_in_transit`}),`. These stages do not distinguish routine transit from a carrier delivery\nexception.`]}),`\n`,_jsxs(_components.p,{children:[`When a tracking number is available, use `,_jsx(_components.code,{children:`kit.trackingNumber`}),` with the appropriate carrier’s\ntracking API for more complete, current carrier-reported scan events and exception details,\nincluding weather delays and failed delivery attempts. Track the shipment identified by that\nnumber.`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`https://developer.fedex.com/api/en-us/catalog/track/docs.html`,children:`FedEx tracking API`}),` or\n`,_jsx(_components.a,{href:`https://developer.dhl.com/tracking`,children:`DHL shipment tracking API`}),`. Carrier APIs have their own\nauthentication requirements.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/concepts/webhooks`,children:`Webhooks`}),` notify you of order, kit, and report changes for every order of\nyour clinic, including Portal-created orders. Webhook events use their own status values, not\nthe values on this page, and identify the order only by a string `,_jsx(_components.code,{children:`accessionId`}),`. See\n`,_jsxs(_components.a,{href:`#look-up-by-accessionid`,children:[`Look up by `,_jsx(_components.code,{children:`accessionId`})]}),` (coming soon).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`list-orders`,children:`List orders`}),`\n`,_jsxs(_components.p,{children:[`Every order in your clinic — placed through this API `,_jsx(_components.strong,{children:`or through the Vibrant Portal`}),`. All filters\nare optional and combine (AND):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Filter`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.em,{children:`(none)`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The whole clinic, newest first — one paginated sweep is a full backfill.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`patientId`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`One patient’s complete order history. Outside your clinic → `,_jsx(_components.code,{children:`404`}),`; no orders yet → `,_jsx(_components.code,{children:`200`}),` with an empty list.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`from`}),` / `,_jsx(_components.code,{children:`to`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Window on `,_jsx(_components.code,{children:`orderedAt`}),`, half-open (`,_jsx(_components.code,{children:`from \u003c= orderedAt \u003c to`}),`), each usable alone. One sweep’s `,_jsx(_components.code,{children:`to`}),` is the next sweep’s `,_jsx(_components.code,{children:`from`}),` — incremental syncs never miss or double-count an order.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Dates are ISO 8601, UTC; a bare date means `,_jsx(_components.code,{children:`00:00:00Z`}),` that day. An empty range (`,_jsx(_components.code,{children:`from >= to`}),`) is a\n`,_jsx(_components.code,{children:`400`}),` rather than a silently empty result.`]}),`\n`,_jsxs(_components.p,{children:[`Pagination and sorting work exactly as on `,_jsx(_components.a,{href:`/api-reference/patients/list`,children:`List patients`}),`: `,_jsx(_components.code,{children:`page`}),`\n(default 1), `,_jsx(_components.code,{children:`perPage`}),` (default 20, max 100), `,_jsx(_components.code,{children:`sortBy`}),` (`,_jsx(_components.code,{children:`orderedAt`}),`), `,_jsx(_components.code,{children:`sortOrder`}),` (default `,_jsx(_components.code,{children:`desc`}),`).\nValues of `,_jsx(_components.code,{children:`perPage`}),` above 100 are capped at 100. The response’s `,_jsx(_components.code,{children:`perPage`}),` shows the effective page size.\n`,_jsx(_components.code,{children:`count`}),` is the total match count, not the page size.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,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:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orders\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"placerId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VENDOR-ORDER-12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sampleId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2553977`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2607276003\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"patientId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`750123`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"report_available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-08T17:21:04Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"testCodes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GUT_ZOOMER\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"placerId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sampleId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2201456`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2503011234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"patientId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`750123`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"report_available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-03-01T09:12:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"testCodes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"count\"`}),_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:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page\"`}),_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:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"perPage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Rows are summaries: identity plus the order’s lifecycle status. For what’s happening `,_jsx(_components.em,{children:`inside`}),`\nan order — kit, lab, report, cancellation —\n`,_jsx(_components.a,{href:`#look-up-one-order`,children:`look it up`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Portal-placed orders have `,_jsx(_components.code,{children:`null`}),` for both `,_jsx(_components.code,{children:`orderId`}),` and `,_jsx(_components.code,{children:`placerId`})]}),` — those two ids exist only\nfor orders placed through this API. Anchor on `,_jsx(_components.code,{children:`accessionId`}),` (or `,_jsx(_components.code,{children:`sampleId`}),`), which every order\nhas. In list responses, `,_jsx(_components.code,{children:`accessionId`}),` is a string; pass it unchanged to\n`,_jsx(_components.a,{href:`/api-reference/reports/get`,children:`Get report`}),`. `,_jsx(_components.code,{children:`testCodes`}),`\nis `,_jsx(_components.code,{children:`null`}),` where a Portal order’s items have no catalog-code equivalent.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`from-history-to-reports`,children:`From history to reports`}),`\n`,_jsxs(_components.p,{children:[`A patient’s past results are two steps: list their orders here, then fetch each row’s `,_jsx(_components.code,{children:`accessionId`}),`\nfrom the `,_jsx(_components.a,{href:`/api-reference/reports/get`,children:`Report endpoint`}),`. For a whole-clinic backfill, sweep the\nunfiltered list once, then pace the report pulls — report fetching is rate-limited (`,_jsx(_components.code,{children:`429`}),` with\n`,_jsx(_components.code,{children:`Retry-After`}),`), and it, not the sweep, is the long pole.`]})]})}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":"Get orders","sidebarTitle":"Status \u0026 history","openapi":"GET /orders","description":"List mode is available in sandbox for integration testing.\n\nOne endpoint, two questions.\n\n**Lookup** — send `orderId` **or** `placerId` (one, not both): the full **OrderStatus** — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. **WIP:** cancellation eligibility and fee preview are not available yet; `cancellation` is currently null except for orders already known to be cancelled. The [Cancel endpoint](/api-reference/orders/cancel) is available.\n\n**List** — send any combination of `patientId` and `from`/`to`, or no filters at all: pages of order summaries for your clinic, **including orders placed through the Vibrant Portal**. Portal-placed rows have `null` `orderId`/`placerId` — anchor on `accessionId`, which is the id the Report endpoint takes.\n\nMixing lookup and list parameters is a `400`.\n\n**Cancellation:** when the order's top-level `status` is `cancelled`, the whole order is terminal. Stop waiting for or polling results regardless of nested `report.status` or progress counts. The Report endpoint also uses a top-level `cancelled` status; you do not need to query both endpoints to confirm cancellation.\n\n[Webhooks](/concepts/webhooks) notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. **WIP — coming soon:** looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns `403` with `not_placed_via_api`; an order of another clinic returns `404`.","href":"/api-reference/orders/status"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Look up one order","slug":"look-up-one-order","depth":2,"children":[{"title":"Why this exists","slug":"why-this-exists","depth":3,"children":[]},{"title":"Look up by accessionId","slug":"look-up-by-accessionid","depth":3,"children":[]},{"title":"One status, four things","slug":"one-status-four-things","depth":3,"children":[]},{"title":"Placement status","slug":"placement-status","depth":3,"children":[]},{"title":"Kit shipping details","slug":"kit-shipping-details","depth":3,"children":[]},{"title":"Cancellation status","slug":"cancellation-status","depth":3,"children":[]},{"title":"Cancellation preview","slug":"cancellation-preview","depth":3,"children":[]},{"title":"Shipping exceptions and carrier tracking","slug":"shipping-exceptions-and-carrier-tracking","depth":3,"children":[]}]},{"title":"List orders","slug":"list-orders","depth":2,"children":[{"title":"From history to reports","slug":"from-history-to-reports","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getOrderStatus","tags":["Orders"],"summary":"Get orders","description":"List mode is available in sandbox for integration testing.\n\nOne endpoint, two questions.\n\n**Lookup** — send `orderId` **or** `placerId` (one, not both): the full **OrderStatus** — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. **WIP:** cancellation eligibility and fee preview are not available yet; `cancellation` is currently null except for orders already known to be cancelled. The [Cancel endpoint](/api-reference/orders/cancel) is available.\n\n**List** — send any combination of `patientId` and `from`/`to`, or no filters at all: pages of order summaries for your clinic, **including orders placed through the Vibrant Portal**. Portal-placed rows have `null` `orderId`/`placerId` — anchor on `accessionId`, which is the id the Report endpoint takes.\n\nMixing lookup and list parameters is a `400`.\n\n**Cancellation:** when the order's top-level `status` is `cancelled`, the whole order is terminal. Stop waiting for or polling results regardless of nested `report.status` or progress counts. The Report endpoint also uses a top-level `cancelled` status; you do not need to query both endpoints to confirm cancellation.\n\n[Webhooks](/concepts/webhooks) notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. **WIP — coming soon:** looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns `403` with `not_placed_via_api`; an order of another clinic returns `404`.","parameters":["9dd24fc2-f62d-491e-9104-b850bdd0ce13","2bf22c8e-95dc-4a3c-bd26-5e556deb6bd2","6278e657-6d7c-44fc-aff9-10f56e9f1ea6","21e5557e-9fbe-404a-bf0c-9a66aa23bcfc","90be32a9-614e-483e-bd7b-86ca0ba49b59","58e8dc69-f021-4dbf-a020-86c9b364bea3","ad2c51d4-4895-4f37-a9ca-38219a1664e6","76381abf-70be-45b0-b521-fcbaec0a8937","512a6809-a2f9-43ba-bf84-c481325c0447"],"responses":{"200":"4ba9963f-a798-4ec5-a31f-bc2ab9d2123a","400":"f48e4ea8-7665-4529-b304-1665bbc44a0a","401":"9c67ba21-0379-4593-809e-66c221a20640","404":"2423b0d5-a371-4e58-8e04-07c8f17e28dc","429":"6b24c0ba-e872-4907-af1d-13d6de3998e1","500":"b482e6c7-2e27-41df-a6a5-7e6a957e9699"},"method":"get","type":"path","servers":["d2a30c61-023c-4a42-a0d0-4d24ce2907e9","1c8588a7-1767-493a-95e5-0417fc2a699c"],"security":["76c6c3c4-fdf3-4d09-a065-3df88619a129"],"path":"/orders","baseUrlOptions":["https://api.vibrant-america.com/v1","https://api-sandbox.vibrant-america.com/v1"],"title":"Get orders","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9dd24fc2-f62d-491e-9104-b850bdd0ce13":{"name":"orderId","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Lookup mode: the `orderId` returned by `POST /orders`. Send this or `placerId`, not both.","uniqueKey":"","typeLabel":"string"},"description":"Lookup mode: the `orderId` returned by `POST /orders`. Send this or `placerId`, not both."},"2bf22c8e-95dc-4a3c-bd26-5e556deb6bd2":{"name":"placerId","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Lookup mode: the `placerId` the order was placed with. Send this or `orderId`, not both.","uniqueKey":"","typeLabel":"string"},"description":"Lookup mode: the `placerId` the order was placed with. Send this or `orderId`, not both."},"6278e657-6d7c-44fc-aff9-10f56e9f1ea6":{"name":"patientId","in":"query","required":false,"schema":{"type":"integer","isRequired":false,"description":"List mode: only this patient’s orders. A `patientId` outside your clinic is a `404`; a patient with no orders is a `200` with an empty list.","uniqueKey":"","typeLabel":"integer"},"description":"List mode: only this patient’s orders. A `patientId` outside your clinic is a `404`; a patient with no orders is a `200` with an empty list."},"21e5557e-9fbe-404a-bf0c-9a66aa23bcfc":{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time","isRequired":false,"description":"List mode: `orderedAt >= from`. ISO 8601, UTC; a bare date means `00:00:00Z` that day.","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"description":"List mode: `orderedAt >= from`. ISO 8601, UTC; a bare date means `00:00:00Z` that day."},"90be32a9-614e-483e-bd7b-86ca0ba49b59":{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time","isRequired":false,"description":"List mode: `orderedAt \u003c to` (half-open, so one sweep’s `to` is the next sweep’s `from`). An empty range (`from >= to`) is a `400`.","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"description":"List mode: `orderedAt \u003c to` (half-open, so one sweep’s `to` is the next sweep’s `from`). An empty range (`from >= to`) is a `400`."},"58e8dc69-f021-4dbf-a020-86c9b364bea3":{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"isRequired":false,"description":"List mode: page number.","uniqueKey":"","typeLabel":"integer"},"description":"List mode: page number."},"ad2c51d4-4895-4f37-a9ca-38219a1664e6":{"name":"perPage","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":20,"isRequired":false,"description":"List mode: requested rows per page. Values above 100 are capped at 100; the response's perPage shows the effective page size.","uniqueKey":"","typeLabel":"integer"},"description":"List mode: requested rows per page. Values above 100 are capped at 100; the response's perPage shows the effective page size."},"76381abf-70be-45b0-b521-fcbaec0a8937":{"name":"sortBy","in":"query","required":false,"schema":{"type":"string","enum":["orderedAt"],"default":"orderedAt","isRequired":false,"description":"List mode: sort field.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"List mode: sort field."},"512a6809-a2f9-43ba-bf84-c481325c0447":{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc","isRequired":false,"description":"List mode: sort direction.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"List mode: sort direction."}},"responses":{"4ba9963f-a798-4ec5-a31f-bc2ab9d2123a":{"description":"Lookup: the order’s current state. List: one page of order summaries.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Order lifecycle, kit shipping, lab receipt, report readiness, cancellation information when available, and exceptions. [Webhooks](/concepts/webhooks) report order changes with their own status values; they are not the values of this object.","properties":{"orderId":{"type":"string","example":"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09","description":"UUID assigned at placement.","uniqueKey":"oneOf.0.orderId","typeLabel":"string"},"placerId":{"type":"string","description":"Your own id for the order.","example":"VENDOR-ORDER-12345","uniqueKey":"oneOf.0.placerId","typeLabel":"string"},"accessionId":{"type":"integer","description":"Barcode — use it to fetch the report.","example":"2508088888","uniqueKey":"oneOf.0.accessionId","typeLabel":"integer"},"patientId":{"type":"integer","example":750123,"uniqueKey":"oneOf.0.patientId","typeLabel":"integer"},"status":{"type":"string","enum":["processing","rejected","failed","dry_run","placed","kit_shipped","kit_delivered","sample_in_transit","sample_received","analyzing","report_available","cancelled"],"description":"Order lifecycle. A lookup can return processing (placement not completed), rejected (correct the request before retrying), failed (retry placement), or dry_run (a placement record created in dry-run mode). Reuse the same placerId when retrying placement. kit_delivered means the outbound kit has reached the patient. sample_received is lab receipt, after which the order can no longer be cancelled. A top-level cancelled status is terminal for the whole order: stop waiting for or polling results regardless of nested report readiness or progress counts.","example":"sample_received","uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"kit":{"oneOf":[{"type":"object","description":"Kit shipping details, or null when unavailable. Shipping details are not available in sandbox, so kit is always null.","properties":{"status":{"type":"string","enum":["not_shipped","shipped","in_transit","delivered"],"example":"delivered","uniqueKey":"oneOf.0.kit.oneOf.0.status","typeLabel":"enum\u003cstring>"},"carrier":{"oneOf":[{"type":"string","example":"FedEx","description":"Carrier name, e.g. FedEx or DHL. Null before shipment or when carrier details are unavailable.","uniqueKey":"oneOf.0.kit.oneOf.0.carrier.oneOf.0","typeLabel":"string"},{"type":"null","example":"FedEx","description":"Carrier name, e.g. FedEx or DHL. Null before shipment or when carrier details are unavailable.","uniqueKey":"oneOf.0.kit.oneOf.0.carrier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.kit.oneOf.0.carrier","typeLabel":"string | null"},"trackingNumber":{"type":"string","example":"123456789012","description":"Tracking number for the shipment.","uniqueKey":"oneOf.0.kit.oneOf.0.trackingNumber","typeLabel":"string"},"shippedAt":{"oneOf":[{"type":"string","format":"date-time","example":"2026-06-11T17:20:00Z","description":"UTC timestamp of the carrier pickup scan. Null before shipment.","uniqueKey":"oneOf.0.kit.oneOf.0.shippedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","example":"2026-06-11T17:20:00Z","description":"UTC timestamp of the carrier pickup scan. Null before shipment.","uniqueKey":"oneOf.0.kit.oneOf.0.shippedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.kit.oneOf.0.shippedAt","typeLabel":"string\u003cdate-time> | null"},"deliveredAt":{"oneOf":[{"type":"string","format":"date-time","example":"2026-06-14T15:02:00Z","description":"UTC timestamp of the carrier delivery scan. Null until delivered, or when delivery details are unavailable.","uniqueKey":"oneOf.0.kit.oneOf.0.deliveredAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","example":"2026-06-14T15:02:00Z","description":"UTC timestamp of the carrier delivery scan. Null until delivered, or when delivery details are unavailable.","uniqueKey":"oneOf.0.kit.oneOf.0.deliveredAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.kit.oneOf.0.deliveredAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"oneOf.0.kit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Kit shipping details, or null when unavailable. Shipping details are not available in sandbox, so kit is always null.","properties":{"status":{"type":"string","enum":["not_shipped","shipped","in_transit","delivered"],"example":"delivered"},"carrier":{"oneOf":[{"type":"string","example":"FedEx","description":"Carrier name, e.g. FedEx or DHL. Null before shipment or when carrier details are unavailable."},{"type":"null","example":"FedEx","description":"Carrier name, e.g. FedEx or DHL. Null before shipment or when carrier details are unavailable."}]},"trackingNumber":{"type":"string","example":"123456789012","description":"Tracking number for the shipment."},"shippedAt":{"oneOf":[{"type":"string","format":"date-time","example":"2026-06-11T17:20:00Z","description":"UTC timestamp of the carrier pickup scan. Null before shipment."},{"type":"null","format":"date-time","example":"2026-06-11T17:20:00Z","description":"UTC timestamp of the carrier pickup scan. Null before shipment."}]},"deliveredAt":{"oneOf":[{"type":"string","format":"date-time","example":"2026-06-14T15:02:00Z","description":"UTC timestamp of the carrier delivery scan. Null until delivered, or when delivery details are unavailable."},{"type":"null","format":"date-time","example":"2026-06-14T15:02:00Z","description":"UTC timestamp of the carrier delivery scan. Null until delivered, or when delivery details are unavailable."}]}},"uniqueKey":"oneOf.0.kit.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.kit","typeLabel":"object | null"},"lab":{"type":"object","description":"Lab receipt of the patient's sample.","properties":{"sampleReceived":{"type":"boolean","example":true,"uniqueKey":"oneOf.0.lab.sampleReceived","typeLabel":"boolean"},"receivedAt":{"type":"string","format":"date-time","example":"2026-06-16T09:00:00Z","uniqueKey":"oneOf.0.lab.receivedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"oneOf.0.lab","typeLabel":"object"},"report":{"type":"object","description":"Report readiness and progress counts. Use the order's top-level status to determine cancellation.","properties":{"status":{"type":"string","enum":["registered","preliminary","final","unknown"],"example":"preliminary","description":"Report readiness. When the order's top-level status is cancelled, the whole order is terminal: stop waiting for or polling results regardless of this field. This readiness status may remain registered; you do not need to wait for it to change.","uniqueKey":"oneOf.0.report.status","typeLabel":"enum\u003cstring>"},"generatedReportCount":{"type":"integer","example":2,"uniqueKey":"oneOf.0.report.generatedReportCount","typeLabel":"integer"},"totalReportCount":{"type":"integer","example":3,"uniqueKey":"oneOf.0.report.totalReportCount","typeLabel":"integer"}},"uniqueKey":"oneOf.0.report","typeLabel":"object"},"cancellation":{"oneOf":[{"type":"object","description":"WIP — cancellation eligibility and fee preview are not available yet. This block is currently null, except when an order is already known to be cancelled; that case can return cancellable: false and reason: already_cancelled. Null does not indicate whether cancellation is allowed or free.","properties":{"cancellable":{"type":"boolean","example":true,"uniqueKey":"oneOf.0.cancellation.oneOf.0.cancellable","typeLabel":"boolean"},"fee":{"oneOf":[{"type":"object","description":"Cancellation fee that would be charged. `null` before the kit ships (free) and when not cancellable.","properties":{"amount":{"type":"number","example":300,"uniqueKey":"oneOf.0.cancellation.oneOf.0.fee.oneOf.0.amount","typeLabel":"number"},"currency":{"type":"string","example":"usd","uniqueKey":"oneOf.0.cancellation.oneOf.0.fee.oneOf.0.currency","typeLabel":"string"}},"uniqueKey":"oneOf.0.cancellation.oneOf.0.fee.oneOf.0","typeLabel":"object"},{"type":"null","description":"Cancellation fee that would be charged. `null` before the kit ships (free) and when not cancellable.","uniqueKey":"oneOf.0.cancellation.oneOf.0.fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.cancellation.oneOf.0.fee","typeLabel":"object | null"},"reason":{"type":"string","enum":["free_before_kit_ships","fee_after_kit_ships","sample_received","already_cancelled"],"description":"Why this window is what it is. `sample_received` = past the point of no return.","example":"fee_after_kit_ships","uniqueKey":"oneOf.0.cancellation.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.cancellation.oneOf.0","typeLabel":"object"},{"type":"null","description":"WIP — cancellation eligibility and fee preview are not available yet. This block is currently null, except when an order is already known to be cancelled; that case can return cancellable: false and reason: already_cancelled. Null does not indicate whether cancellation is allowed or free.","properties":{"cancellable":{"type":"boolean","example":true},"fee":{"oneOf":[{"type":"object","description":"Cancellation fee that would be charged. `null` before the kit ships (free) and when not cancellable.","properties":{"amount":{"type":"number","example":300},"currency":{"type":"string","example":"usd"}}},{"type":"null","description":"Cancellation fee that would be charged. `null` before the kit ships (free) and when not cancellable."}]},"reason":{"type":"string","enum":["free_before_kit_ships","fee_after_kit_ships","sample_received","already_cancelled"],"description":"Why this window is what it is. `sample_received` = past the point of no return.","example":"fee_after_kit_ships"}},"uniqueKey":"oneOf.0.cancellation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.cancellation","typeLabel":"object | null"},"exceptions":{"type":"array","items":{"type":"object","description":"Something holding up the order. Resolved automatically by Vibrant — see the Exceptions guide.","properties":{"type":{"type":"string","enum":["redraw_needed","waiver_missing","questionnaire_pending","address_missing","billing_issue"],"description":"Machine-readable exception type.","uniqueKey":"oneOf.0.exceptions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","example":"Questionnaire pending","uniqueKey":"oneOf.0.exceptions.items.[INDEX].name","typeLabel":"string"},"blocksReport":{"type":"boolean","description":"Whether this withholds the result until resolved.","example":false,"uniqueKey":"oneOf.0.exceptions.items.[INDEX].blocksReport","typeLabel":"boolean"},"detail":{"type":"string","example":"Questionnaire emailed to the patient; ranges are provisional until answered.","uniqueKey":"oneOf.0.exceptions.items.[INDEX].detail","typeLabel":"string"}},"uniqueKey":"oneOf.0.exceptions.items.[INDEX]","typeLabel":"object"},"description":"Open exceptions. Empty array when there are none.","uniqueKey":"oneOf.0.exceptions","typeLabel":"object[]"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-16T09:00:03Z","uniqueKey":"oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"One page of order summaries.","required":["orders","count","page","perPage"],"properties":{"orders":{"type":"array","items":{"type":"object","description":"One row of an order list. Identity plus coarse state; for kit, lab, report and cancellation detail, look the order up by `orderId`.","properties":{"sampleId":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.orders.items.[INDEX].sampleId","typeLabel":"integer"},"accessionId":{"type":"string","description":"Barcode as a string — every order has one. Pass it unchanged to `GET /report/fhir/{id}`.","isRequired":true,"uniqueKey":"oneOf.1.orders.items.[INDEX].accessionId","typeLabel":"string"},"patientId":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.orders.items.[INDEX].patientId","typeLabel":"integer"},"status":{"type":"string","enum":["placed","kit_shipped","kit_delivered","sample_in_transit","sample_received","analyzing","report_available","cancelled"],"description":"Order lifecycle status for a row in the historical order list. A cancelled order is terminal; stop waiting for or polling its results.","isRequired":true,"uniqueKey":"oneOf.1.orders.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"orderedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.1.orders.items.[INDEX].orderedAt","typeLabel":"string\u003cdate-time>"},"orderId":{"oneOf":[{"type":"string","description":"UUID assigned at placement. `null` for orders placed through the Vibrant Portal rather than this API.","uniqueKey":"oneOf.1.orders.items.[INDEX].orderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"UUID assigned at placement. `null` for orders placed through the Vibrant Portal rather than this API.","uniqueKey":"oneOf.1.orders.items.[INDEX].orderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.orders.items.[INDEX].orderId","typeLabel":"string | null"},"placerId":{"oneOf":[{"type":"string","description":"Your own id for the order. `null` for Portal-placed orders.","uniqueKey":"oneOf.1.orders.items.[INDEX].placerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own id for the order. `null` for Portal-placed orders.","uniqueKey":"oneOf.1.orders.items.[INDEX].placerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.orders.items.[INDEX].placerId","typeLabel":"string | null"},"testCodes":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.orders.items.[INDEX].testCodes.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"`null` when a Portal-placed order’s items have no catalog-code equivalent.","uniqueKey":"oneOf.1.orders.items.[INDEX].testCodes.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"`null` when a Portal-placed order’s items have no catalog-code equivalent.","uniqueKey":"oneOf.1.orders.items.[INDEX].testCodes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.orders.items.[INDEX].testCodes","typeLabel":"string[] | null"}},"required":["sampleId","accessionId","patientId","status","orderedAt"],"uniqueKey":"oneOf.1.orders.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.orders","typeLabel":"object[]"},"count":{"type":"integer","description":"Total matches across all pages, not the page size.","example":2,"isRequired":true,"uniqueKey":"oneOf.1.count","typeLabel":"integer"},"page":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"oneOf.1.page","typeLabel":"integer"},"perPage":{"type":"integer","description":"Effective page size, capped at 100.","example":20,"isRequired":true,"uniqueKey":"oneOf.1.perPage","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"kit_delivered":{"title":"kit_delivered","summary":"Kit delivered — shipping details available","value":{"orderId":"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09","placerId":"VENDOR-ORDER-12345","accessionId":2508088888,"patientId":750123,"status":"kit_delivered","kit":{"status":"delivered","carrier":"FedEx","trackingNumber":"123456789012","shippedAt":"2026-06-11T17:20:00Z","deliveredAt":"2026-06-14T15:02:00Z"},"lab":{"sampleReceived":false},"report":{"status":"registered","generatedReportCount":0,"totalReportCount":3},"cancellation":null,"exceptions":[],"updatedAt":"2026-06-14T15:02:10Z"}},"sample_analyzing":{"title":"sample_analyzing","summary":"Sample at the lab — questionnaire pending","value":{"orderId":"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09","placerId":"VENDOR-ORDER-12345","accessionId":2508088888,"patientId":750123,"status":"analyzing","kit":{"status":"delivered","carrier":"FedEx","shippedAt":"2026-06-11T17:20:00Z","deliveredAt":"2026-06-14T15:02:00Z","trackingNumber":"123456789012"},"lab":{"sampleReceived":true,"receivedAt":"2026-06-16T09:00:00Z"},"report":{"status":"preliminary","generatedReportCount":2,"totalReportCount":3},"cancellation":null,"exceptions":[{"type":"questionnaire_pending","name":"Questionnaire pending","blocksReport":false,"detail":"Questionnaire emailed to the patient; reference ranges are provisional until answered."}],"updatedAt":"2026-06-18T14:03:00Z"}},"sandbox_order":{"title":"sandbox_order","summary":"Sandbox — shipping details unavailable","value":{"orderId":"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09","placerId":"VENDOR-ORDER-12345","accessionId":2508088888,"patientId":750123,"status":"kit_delivered","kit":null,"lab":{"sampleReceived":false},"report":{"status":"registered","generatedReportCount":0,"totalReportCount":3},"cancellation":null,"exceptions":[],"updatedAt":"2026-06-14T15:02:10Z"}},"patient_history":{"title":"patient_history","summary":"List mode — a patient’s order history","value":{"orders":[{"orderId":"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09","placerId":"VENDOR-ORDER-12345","sampleId":2553977,"accessionId":"2607276003","patientId":750123,"status":"report_available","orderedAt":"2026-08-08T17:21:04Z","testCodes":["GUT_ZOOMER"]},{"orderId":null,"placerId":null,"sampleId":2201456,"accessionId":"2503011234","patientId":750123,"status":"report_available","orderedAt":"2025-03-01T09:12:00Z","testCodes":null}],"count":2,"page":1,"perPage":20}},"cancelled_order":{"title":"cancelled_order","summary":"Cancelled order — stop waiting despite registered report readiness","value":{"orderId":"bf8de4d9-31c2-4c8e-9f01-7a2d64e15b09","placerId":"VENDOR-ORDER-12345","accessionId":2508088888,"patientId":750123,"status":"cancelled","kit":null,"lab":{"sampleReceived":false},"report":{"status":"registered","generatedReportCount":0,"totalReportCount":3},"cancellation":{"cancellable":false,"fee":null,"reason":"already_cancelled"},"exceptions":[],"updatedAt":"2026-06-15T10:00:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"f48e4ea8-7665-4529-b304-1665bbc44a0a":{"description":"Lookup and list parameters mixed, both lookup ids sent, or an invalid filter value (`AMBIGUOUS_ORDER_IDENTIFIER`, `INVALID_FIELD_TYPE`, `INVALID_DATE_RANGE`).","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":"AMBIGUOUS_ORDER_IDENTIFIER","message":"Send orderId or placerId alone, without list filters.","requestId":"req_01JQ8ZC5X9K2MN"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AMBIGUOUS_ORDER_IDENTIFIER","message":"Send orderId or placerId alone, without list filters.","requestId":"req_01JQ8ZC5X9K2MN"}}}},"exampleType":"examples"}},"exampleType":"examples"},"9c67ba21-0379-4593-809e-66c221a20640":{"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"},"2423b0d5-a371-4e58-8e04-07c8f17e28dc":{"description":"The accession is unknown, or it isn't within your account's access scope. Returned as 404 (not 403) so sample existence isn't leaked.","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":"report_not_found","message":"No accessible report for this accession.","requestId":"req_01JQ8ZC5X9K2MN"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"report_not_found","message":"No accessible report for this accession.","requestId":"req_01JQ8ZC5X9K2MN"}}}},"exampleType":"examples"}},"exampleType":"examples"},"6b24c0ba-e872-4907-af1d-13d6de3998e1":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."}},"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":"rate_limited","message":"Too many requests. Retry after 2s.","requestId":"req_01JQ8ZC5X9K2MN"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limited","message":"Too many requests. Retry after 2s.","requestId":"req_01JQ8ZC5X9K2MN"}}}},"exampleType":"examples"}},"exampleType":"examples"},"b482e6c7-2e27-41df-a6a5-7e6a957e9699":{"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"}},"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":"Get orders - Vibrant Wellness Portal API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T00:49:59.944Z","originalFileLocation":"api-reference/orders/status.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=\"List mode is available in sandbox for integration testing. One endpoint, two questions. Lookup — send orderId or placerId (one, not both): the full OrderStatus — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. WIP: cancellation eligibility and fee preview are not available yet; cancellation is currently null except for orders already known to be cancelled. The Cancel endpoint is available. List — send any combination of patientId and from/to, or no filters at all: pages of order summaries for your clinic, including orders placed through the Vibrant Portal. Portal-placed rows have null orderId/placerId — anchor on accessionId, which is the id the Report endpoint takes. Mixing lookup and list parameters is a 400. Cancellation: when the order\u0026#x27;s top-level status is cancelled, the whole order is terminal. Stop waiting for or polling results regardless of nested report.status or progress counts. The Report endpoint also uses a top-level cancelled status; you do not need to query both endpoints to confirm cancellation. Webhooks notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. WIP — coming soon: looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns 403 with not_placed_via_api; an order of another clinic returns 404.\">\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=\"Get orders - Vibrant Wellness Portal API\">\u003cmeta data-mint-head property=\"og:description\" content=\"List mode is available in sandbox for integration testing. One endpoint, two questions. Lookup — send orderId or placerId (one, not both): the full OrderStatus — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. WIP: cancellation eligibility and fee preview are not available yet; cancellation is currently null except for orders already known to be cancelled. The Cancel endpoint is available. List — send any combination of patientId and from/to, or no filters at all: pages of order summaries for your clinic, including orders placed through the Vibrant Portal. Portal-placed rows have null orderId/placerId — anchor on accessionId, which is the id the Report endpoint takes. Mixing lookup and list parameters is a 400. Cancellation: when the order\u0026#x27;s top-level status is cancelled, the whole order is terminal. Stop waiting for or polling results regardless of nested report.status or progress counts. The Report endpoint also uses a top-level cancelled status; you do not need to query both endpoints to confirm cancellation. Webhooks notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. WIP — coming soon: looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns 403 with not_placed_via_api; an order of another clinic returns 404.\">\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/orders/status\">\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=Order\u0026amp;title=Get+orders\u0026amp;description=List+mode+is+available+in+sandbox+for+integration+testing.%0A%0AOne+endpoint%2C+two+questions.%0A%0A**Lookup**+%E2%80%94+send+%60orderId%60+**or**+%60placerId%60+%28one%2C+not+both%29%3A+the+ful\u0026amp;theme=0d61504044ce1c182aeab1ce\u0026amp;signature=c9d249193c44ee640e34be43992f3d2cb4271e2b318257261941fe86d35345e4\">\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=\"Get orders - Vibrant Wellness Portal API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List mode is available in sandbox for integration testing. One endpoint, two questions. Lookup — send orderId or placerId (one, not both): the full OrderStatus — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. WIP: cancellation eligibility and fee preview are not available yet; cancellation is currently null except for orders already known to be cancelled. The Cancel endpoint is available. List — send any combination of patientId and from/to, or no filters at all: pages of order summaries for your clinic, including orders placed through the Vibrant Portal. Portal-placed rows have null orderId/placerId — anchor on accessionId, which is the id the Report endpoint takes. Mixing lookup and list parameters is a 400. Cancellation: when the order\u0026#x27;s top-level status is cancelled, the whole order is terminal. Stop waiting for or polling results regardless of nested report.status or progress counts. The Report endpoint also uses a top-level cancelled status; you do not need to query both endpoints to confirm cancellation. Webhooks notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. WIP — coming soon: looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns 403 with not_placed_via_api; an order of another clinic returns 404.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vibrant-8ddfe82e.mintlify.site/_mintlify/api/og/v2?division=Order\u0026amp;title=Get+orders\u0026amp;description=List+mode+is+available+in+sandbox+for+integration+testing.%0A%0AOne+endpoint%2C+two+questions.%0A%0A**Lookup**+%E2%80%94+send+%60orderId%60+**or**+%60placerId%60+%28one%2C+not+both%29%3A+the+ful\u0026amp;theme=0d61504044ce1c182aeab1ce\u0026amp;signature=c9d249193c44ee640e34be43992f3d2cb4271e2b318257261941fe86d35345e4\">\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/orders/status\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orders/status.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/orders/status#webpage\",\"url\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status\",\"name\":\"Get orders\",\"description\":\"List mode is available in sandbox for integration testing. One endpoint, two questions. Lookup — send orderId or placerId (one, not both): the full OrderStatus — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. WIP: cancellation eligibility and fee preview are not available yet; cancellation is currently null except for orders already known to be cancelled. The Cancel endpoint is available. List — send any combination of patientId and from/to, or no filters at all: pages of order summaries for your clinic, including orders placed through the Vibrant Portal. Portal-placed rows have null orderId/placerId — anchor on accessionId, which is the id the Report endpoint takes. Mixing lookup and list parameters is a 400. Cancellation: when the order's top-level status is cancelled, the whole order is terminal. Stop waiting for or polling results regardless of nested report.status or progress counts. The Report endpoint also uses a top-level cancelled status; you do not need to query both endpoints to confirm cancellation. Webhooks notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. WIP — coming soon: looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns 403 with not_placed_via_api; an order of another clinic returns 404.\",\"dateModified\":\"2026-11-24T00:49:59.944Z\",\"isPartOf\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/catalog/list-products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Order\",\"item\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/place\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get orders\",\"item\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status#apireference\",\"headline\":\"Get orders\",\"name\":\"Get orders\",\"description\":\"List mode is available in sandbox for integration testing. One endpoint, two questions. Lookup — send orderId or placerId (one, not both): the full OrderStatus — lifecycle, kit shipping, lab receipt, report readiness, open exceptions, and cancellation information when available. WIP: cancellation eligibility and fee preview are not available yet; cancellation is currently null except for orders already known to be cancelled. The Cancel endpoint is available. List — send any combination of patientId and from/to, or no filters at all: pages of order summaries for your clinic, including orders placed through the Vibrant Portal. Portal-placed rows have null orderId/placerId — anchor on accessionId, which is the id the Report endpoint takes. Mixing lookup and list parameters is a 400. Cancellation: when the order's top-level status is cancelled, the whole order is terminal. Stop waiting for or polling results regardless of nested report.status or progress counts. The Report endpoint also uses a top-level cancelled status; you do not need to query both endpoints to confirm cancellation. Webhooks notify you of order, kit, and report changes for every order of your clinic, including Portal-created orders. Webhook events use their own status values, not the values returned here, and identify the order only by a string accessionId. WIP — coming soon: looking up an order by accessionId, for orders placed through this API. An order placed in the Vibrant Portal returns 403 with not_placed_via_api; an order of another clinic returns 404.\",\"url\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status\",\"mainEntityOfPage\":{\"@id\":\"https://vibrant-8ddfe82e.mintlify.app/api-reference/orders/status#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/orders/status.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","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","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","description":"Submits a lab order for an existing patient using the same product `code`s you quoted. You send `patientId` and `testCodes` — plus `orderingProviderId`, unless your account's default ordering provider should be used; the lab prices the order (BestDeal), applies New York routing, runs the eligibility check, and — only when eligible — places it. You do NOT send demographics, prices, kit settings, or internal ids; `customerId`/`clinic_id` come from your token.\n\n`placerId` is optional: omit it and every request creates a new order; send one and it becomes your idempotency key — resending the same value returns the original result and never charges twice.\n\nAll requested codes are ordered or none is: if any code cannot be fulfilled the whole order is rejected with `no_orderable_items`, naming it in `errorCodes`.\n\n**WIP — coming soon:** `chargeIndicator: \"T\"` adds third-party platform payment. Send `platformId` and `X-Payment-Authorization: Bearer \u003cplatform-signed JWT>` in addition to the provider access token. The platform JWT uses RS256, a short expiration, and a new single-use `jti` per request. No platform token exchange is involved. Missing or invalid payment authorization, no stored card, or a failed charge prevents the order from being placed. Confirm environment availability with Vibrant before testing. See [Third-party payment](/guides/third-party-payment).","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","description":"Cancels an order you placed, identified by the **`placerId` it was placed with or its `sampleId`** — exactly one of the two (the `orderId` is not accepted).\n\nWhat it costs depends on how far the order has travelled:\n\n| Stage | Cancellable? | Fee |\n|---|---|---|\n| Before the kit ships | Yes | **Free** |\n| After the kit ships,\u003cbr/>before the lab receives the sample | Yes | **$25** |\n| After lab receipt | **No** | — |\n\nCancellation is **not** idempotent-echo: an already-cancelled order returns `422` with `reason: not_cancellable` (`\"Order already canceled\"`) — when retrying after a timeout, treat that as already done. An unknown identifier returns `422` with `reason: order_not_found`.\n\n**WIP — coming soon:** cancellation through the API covers only orders placed through the API. An order placed in the Vibrant Portal returns `422` with `reason: not_placed_via_api`; an order outside your clinic is treated as not found.","href":"/api-reference/orders/cancel"}]},{"title":"Report","openapi":"GET /report/fhir/{id}","href":"/api-reference/reports/get"}]}]}]},"basePath":"","title":"Get orders - 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"]}