Vital order API

The order API from Vital — 32 operation(s) for order.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

vital-io-order-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Vital Lab Report Parser Aggregate order API
  description: Submit existing lab-result PDFs to be parsed and normalized into structured biomarker results. Create lab-report parser jobs and poll for job status and parsed results.
  version: 0.4.497
  contact:
    name: Junction (Vital) Support
    url: https://docs.junction.com
servers:
- url: https://api.us.junction.com
  x-fern-server-name: Production
- url: https://api.eu.junction.com
  x-fern-server-name: ProductionEU
- url: https://api.sandbox.us.junction.com
  x-fern-server-name: Sandbox
- url: https://api.sandbox.eu.junction.com
  x-fern-server-name: SandboxEU
security:
- apiKeyAuth: []
tags:
- name: order
paths:
  /v3/order/testkit/register:
    post:
      tags:
      - order
      summary: Register Testkit
      operationId: register_testkit_v3_order_testkit_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterTestkitRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOrderResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: testkit
      x-fern-sdk-method-name: register
  /v3/order/testkit:
    post:
      tags:
      - order
      summary: Create Testkit Order
      description: Creates an order for an unregistered testkit
      operationId: create_testkit_order_v3_order_testkit_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRegistrableTestkitOrderRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOrderResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: testkit
      x-fern-sdk-method-name: create_order
  /v3/order/phlebotomy/appointment/availability:
    post:
      tags:
      - order
      summary: Get Order Appointment Availability
      description: 'Return the available time slots to book an appointment with a phlebotomist

        for the given address and order.'
      operationId: get_order_appointment_availability_v3_order_phlebotomy_appointment_availability_post
      parameters:
      - name: start_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          description: Start date for appointment availability
          title: Start Date
        description: Start date for appointment availability
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/USAddress'
              description: At-home phlebotomy appointment address.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppointmentAvailabilitySlots'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_phlebotomy_appointment_availability
  /v3/order/{order_id}/phlebotomy/appointment/book:
    post:
      tags:
      - order
      summary: Book Phlebotomy Appointment
      description: Book an at-home phlebotomy appointment.
      operationId: book_phlebotomy_appointment_v3_order__order_id__phlebotomy_appointment_book_post
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppointmentBookingRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: book_phlebotomy_appointment
  /v3/order/{order_id}/phlebotomy/appointment/request:
    post:
      tags:
      - order
      summary: Request Phlebotomy Appointment
      description: Request an at-home phlebotomy appointment.
      operationId: request_phlebotomy_appointment_v3_order__order_id__phlebotomy_appointment_request_post
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestAppointmentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
              example:
                id: f4b2ef81-364a-4d3e-a69c-998753458df6
                user_id: c7a73565-81bb-4716-9662-b5c6d66ac90a
                order_id: 4d1a25fb-01f5-43ce-9e61-003b38edd07b
                order_transaction_id: 545c5901-a2d0-4697-9874-3d6901b9dcd2
                address:
                  first_line: 123 Main St.
                  second_line: Apt. 208
                  city: San Francisco
                  state: CA
                  zip_code: '91189'
                  country: United States
                  access_notes: 'Gate code #1234, use side entrance'
                location:
                  lng: -122.4194155
                  lat: 37.7749295
                type: phlebotomy
                provider: phlebfinders
                status: pending
                event_status: pending
                provider_id: '123'
                can_reschedule: false
                event_data:
                  description: Metadata field containing provider specific data, like cancellation reason or origin
                events:
                - created_at: '2022-01-01T00:00:00Z'
                  status: pending
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: request_phlebotomy_appointment
  /v3/order/{order_id}/phlebotomy/appointment/reschedule:
    patch:
      tags:
      - order
      summary: Reschedule Phlebotomy Appointment
      description: Reschedule a previously booked at-home phlebotomy appointment.
      operationId: reschedule_phlebotomy_appointment_v3_order__order_id__phlebotomy_appointment_reschedule_patch
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppointmentRescheduleRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: reschedule_phlebotomy_appointment
  /v3/order/{order_id}/phlebotomy/appointment/cancel:
    patch:
      tags:
      - order
      summary: Cancel Phlebotomy Appointment
      description: Cancel a previously booked at-home phlebotomy appointment.
      operationId: cancel_phlebotomy_appointment_v3_order__order_id__phlebotomy_appointment_cancel_patch
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api__api_v1__endpoints__vital_api__lab_testing__orders__helpers__AppointmentCancelRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: cancel_phlebotomy_appointment
  /v3/order/phlebotomy/appointment/cancellation-reasons:
    get:
      tags:
      - order
      summary: Get Phlebotomy Appointment Cancellation Reasons
      description: Get the list of reasons for cancelling an at-home phlebotomy appointment.
      operationId: get_phlebotomy_appointment_cancellation_reasons_v3_order_phlebotomy_appointment_cancellation_reasons_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ClientFacingAppointmentCancellationReason'
                type: array
                title: Response Get Phlebotomy Appointment Cancellation Reasons V3 Order Phlebotomy Appointment Cancellation Reasons Get
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_phlebotomy_appointment_cancellation_reason
  /v3/order/{order_id}/phlebotomy/appointment:
    get:
      tags:
      - order
      summary: Get Phlebotomy Appointment
      description: Get the appointment associated with an order.
      operationId: get_phlebotomy_appointment_v3_order__order_id__phlebotomy_appointment_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_phlebotomy_appointment
  /v3/order/area/info:
    get:
      tags:
      - order
      summary: Get Area Info
      description: 'GET information about an area with respect to lab-testing.


        Information returned:

        * Whether a given zip code is served by our Phlebotomy network.

        * List of Lab locations in the area.'
      operationId: get_area_info_v3_order_area_info_get
      parameters:
      - name: zip_code
        in: query
        required: true
        schema:
          type: string
          pattern: ^\d{5}$
          description: Zip code of the area to check
          title: Zip Code
        description: Zip code of the area to check
      - name: radius
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/AllowedRadius'
          description: Radius in which to search in miles
          default: '25'
        description: Radius in which to search in miles
      - name: lab
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/ClientFacingLabs'
          - type: 'null'
          description: Lab to check for PSCs
          deprecated: true
          title: Lab
        description: Lab to check for PSCs
        deprecated: true
      - name: labs
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/ClientFacingLabs'
          - type: 'null'
          description: List of labs to check for PSCs
          title: Labs
        description: List of labs to check for PSCs
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Lab Account ID to use for availability checks
          title: Lab Account Id
        description: Lab Account ID to use for availability checks
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AreaInfo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_area_info
  /v3/order/psc/info:
    get:
      tags:
      - order
      summary: Get Psc Info
      operationId: get_psc_info_v3_order_psc_info_get
      parameters:
      - name: zip_code
        in: query
        required: true
        schema:
          type: string
          pattern: ^\d{5}$
          description: Zip code of the area to check
          title: Zip Code
        description: Zip code of the area to check
      - name: lab_id
        in: query
        required: true
        schema:
          type: integer
          description: Lab ID to check for PSCs
          title: Lab Id
        description: Lab ID to check for PSCs
      - name: radius
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/AllowedRadius'
          description: Radius in which to search in miles. Note that we limit to 30 PSCs.
          default: '25'
        description: Radius in which to search in miles. Note that we limit to 30 PSCs.
      - name: capabilities
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/LabLocationCapability'
          - type: 'null'
          description: Filter for only locations with certain capabilities
          title: Capabilities
        description: Filter for only locations with certain capabilities
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Lab Account ID to use for availability checks
          title: Lab Account Id
        description: Lab Account ID to use for availability checks
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PSCInfo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_psc_info
  /v3/order/{order_id}/psc/info:
    get:
      tags:
      - order
      summary: Get Order Psc Info
      operationId: get_order_psc_info_v3_order__order_id__psc_info_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      - name: radius
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/AllowedRadius'
          description: Radius in which to search in miles
          default: '25'
        description: Radius in which to search in miles
      - name: capabilities
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/LabLocationCapability'
          - type: 'null'
          description: Filter for only locations with certain capabilities
          title: Capabilities
        description: Filter for only locations with certain capabilities
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PSCInfo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_order_psc_info
  /v3/order/{order_id}/result/pdf:
    get:
      tags:
      - order
      summary: Get Lab Test Result
      description: This endpoint returns the lab results for the order.
      operationId: get_lab_test_result_v3_order__order_id__result_pdf_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Order Id
      responses:
        '200':
          description: PDF with results
          content:
            application/json:
              schema:
                title: Response Get Lab Test Result V3 Order  Order Id  Result Pdf Get
            application/pdf:
              schema:
                type: string
                format: binary
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_result_pdf
      x-fern-streaming: true
  /v3/order/{order_id}/result/metadata:
    get:
      tags:
      - order
      summary: Get Lab Test Result Metadata
      description: 'Return metadata related to order results, such as lab metadata,

        provider and sample dates.'
      operationId: get_lab_test_result_metadata_v3_order__order_id__result_metadata_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LabResultsMetadata'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_result_metadata
  /v3/order/{order_id}/result:
    get:
      tags:
      - order
      summary: Get Lab Test Result Raw
      description: Return both metadata and raw json test data
      operationId: get_lab_test_result_raw_v3_order__order_id__result_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LabResultsRaw'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_result_raw
  /v3/order/{order_id}/labels/pdf:
    get:
      tags:
      - order
      summary: Get Order Labels
      description: This endpoint returns the printed labels for the order.
      operationId: get_order_labels_v3_order__order_id__labels_pdf_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Order Id
      - name: number_of_labels
        in: query
        required: false
        schema:
          type: integer
          description: Number of labels to generate
          default: 3
          title: Number Of Labels
        description: Number of labels to generate
      - name: collection_date
        in: query
        required: true
        schema:
          type: string
          format: date-time
          description: Collection date
          title: Collection Date
        description: Collection date
      responses:
        '200':
          description: PDF with labels
          content:
            application/json:
              schema:
                title: Response Get Order Labels V3 Order  Order Id  Labels Pdf Get
            application/pdf:
              schema:
                type: string
                format: binary
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_labels_pdf
      x-fern-streaming: true
  /v3/order/psc/appointment/availability:
    post:
      tags:
      - order
      summary: Get Psc Appointment Availability
      operationId: get_psc_appointment_availability_v3_order_psc_appointment_availability_post
      parameters:
      - name: lab
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/AppointmentPSCLabs'
          description: Lab to check for availability
        description: Lab to check for availability
      - name: start_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          description: Start date for appointment availability
          title: Start Date
        description: Start date for appointment availability
      - name: site_codes
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: List of site codes to fetch availability for
          title: Site Codes
        description: List of site codes to fetch availability for
      - name: zip_code
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^\d{5}$
          - type: 'null'
          description: Zip code of the area to check
          title: Zip Code
        description: Zip code of the area to check
      - name: radius
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AllowedRadius'
          - type: 'null'
          description: Radius in which to search in miles
          default: '25'
          title: Radius
        description: Radius in which to search in miles
      - name: allow_stale
        in: query
        required: false
        schema:
          type: boolean
          description: If true, allows cached availability data to be returned.
          default: false
          title: Allow Stale
        description: If true, allows cached availability data to be returned.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppointmentAvailabilitySlots'
        '404':
          description: No slots found. Not all PSCs support scheduling appointments and some included in your query were filtered out because of this.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                    example: No slots found. Not all PSCs support scheduling appointments and some included in your query were filtered out because of this. Please try again with different site codes or a different zip code, or see the PSC info endpoints to see which locations support scheduling.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_psc_appointment_availability
  /v3/order/{order_id}/psc/appointment/book:
    post:
      tags:
      - order
      summary: Book Phlebotomy Appointment
      operationId: book_phlebotomy_appointment_v3_order__order_id__psc_appointment_book_post
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      - name: x-idempotency-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: '[!] This feature (Idempotency Key) is under closed beta. Idempotency Key support for booking PSC appointment.'
          title: X-Idempotency-Key
        description: '[!] This feature (Idempotency Key) is under closed beta. Idempotency Key support for booking PSC appointment.'
      - name: x-idempotency-error
        in: header
        required: false
        schema:
          anyOf:
          - const: no-cache
            type: string
          - type: 'null'
          description: If `no-cache`, applies idempotency only to successful outcomes.
          title: X-Idempotency-Error
        description: If `no-cache`, applies idempotency only to successful outcomes.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppointmentBookingRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: book_psc_appointment
  /v3/order/{order_id}/psc/appointment/reschedule:
    patch:
      tags:
      - order
      summary: Reschedule Phlebotomy Appointment
      operationId: reschedule_phlebotomy_appointment_v3_order__order_id__psc_appointment_reschedule_patch
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppointmentRescheduleRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: reschedule_psc_appointment
  /v3/order/{order_id}/psc/appointment/cancel:
    patch:
      tags:
      - order
      summary: Cancel Phlebotomy Appointment
      operationId: cancel_phlebotomy_appointment_v3_order__order_id__psc_appointment_cancel_patch
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vital_core__clients__lab_test__getlabs__schema__AppointmentCancelRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: cancel_psc_appointment
  /v3/order/psc/appointment/cancellation-reasons:
    get:
      tags:
      - order
      summary: Get Phlebotomy Appointment Cancellation Reasons
      operationId: get_phlebotomy_appointment_cancellation_reasons_v3_order_psc_appointment_cancellation_reasons_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ClientFacingAppointmentCancellationReason'
                type: array
                title: Response Get Phlebotomy Appointment Cancellation Reasons V3 Order Psc Appointment Cancellation Reasons Get
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_psc_appointment_cancellation_reason
  /v3/order/{order_id}/psc/appointment:
    get:
      tags:
      - order
      summary: Get Phlebotomy Appointment
      description: Get the appointment associated with an order.
      operationId: get_phlebotomy_appointment_v3_order__order_id__psc_appointment_get
      parameters:
      - name: order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Your Order ID.
          title: Order Id
        description: Your Order ID.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingAppointment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_psc_appointment
  /v3/order/resend_events:
    post:
      tags:
      - order
      summary: Resend Order Webhook
      description: Replay a webhook for a given set of orders
      operationId: resend_order_webhook_v3_order_resend_events_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResendWebhookBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResendWebhookResponse

# --- truncated at 32 KB (135 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vital-io/refs/heads/main/openapi/vital-io-order-api-openapi.yml