---
title: "Search Order Items"
method: GET
path: "/v1/orderItems"
tags: ["Orders"]
---

# Search Order Items

`GET /v1/orderItems`

Search order items with optional filtering and pagination. Results are sorted by creation date descending. Parent order identity, employerId, creation time, and status are resolved from the parent Order; employer name and demo attribution are resolved from the owning Employer so reporting is consistent across line items.

## Query parameters

- `page` integer
- `pageSize` integer
- `id` string
- `orderNumber` string
- `orderId` string
- `employeeId` string
- `employerId` string
- `providerId` string
- `orderAccessCode` string
- `serviceId` string
- `status` string
- `idContains` string
- `orderNumberContains` string
- `orderIdContains` string
- `employeeIdContains` string
- `orderAccessCodeContains` string
- `since` string, date-time
- `until` string, date-time

## Response `200`

Default Response

- object
  - `meta` object, required
    - `page` integer, required
    - `pageSize` integer, required
    - `total` integer, required
    - `returned` integer, required
    - `hasMore` boolean, required — True when there are additional pages beyond the current one. Computed as (page * pageSize) < total, where page is 1-indexed (matches the `page` query parameter).
  - `orderItems` object[], required
    - `_id` string
    - `orderId` string
    - `orderNumber` string
    - `employerId` string
    - `employerName` string — Canonical name of the owning Employer
    - `employeeId` string
    - `providerId` string
    - `orderAccessCode` string
    - `priority` string
    - `createdAt` string, date-time
    - `parentCreatedAt` string, date-time — Creation time of the parent Order used for reporting windows
    - `parentStatus` string — Canonical status of the parent Order used for order-level outcomes
    - `createdBy` string
    - `services` object[]
      - `serviceId` string
      - `price` number
      - `quantity` integer
      - `lastEdit` string, date-time
      - `status` string
      - `dueDate` string, date-time
      - `selfReport` boolean
      - `results` object
    - `demo` boolean

## Other responses

- `401` — Default Response
- `403` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/bluehive-health/apis/bluehive-api.md) · [All operations](https://skmtc.net/bluehive-health/apis/bluehive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluehive-health/bluehive-api/revisions/e6e553c2594a/schema)
