---
title: "Get a list of purchase orders with optional filters"
method: GET
path: "/PurchaseOrders"
tags: ["PurchaseOrders"]
---

# Get a list of purchase orders with optional filters

`GET /PurchaseOrders`

## Query parameters

- `status` string
- `vendorId` string
- `fromDate` string, date-time
- `toDate` string, date-time

## Response `200`

OK

- PurchaseOrderListResponseDto
  - `data` PurchaseOrderDto[]
    - `id` string
    - `orderNumber` string
    - `vendorId` string
    - `vendor` VendorSummaryDto
      - `id` string
      - `name` string
      - `code` string, nullable
    - `status` string
    - `orderDate` string, date-time
    - `expectedDeliveryDate` string, date-time, nullable
    - `receivedDate` string, date-time, nullable
    - `subTotal` union
      - number, double
      - string, double
    - `taxAmount` union
      - number, double
      - string, double
    - `shippingAmount` union
      - number, double
      - string, double
    - `totalAmount` union
      - number, double
      - string, double
    - `externalOrderNumber` string, nullable
    - `trackingNumber` string, nullable
    - `notes` string, nullable
    - `createdBy` DEAUserSummaryDto
      - `id` string
      - `displayName` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string
    - `approvedBy` DEAUserSummaryDto
      - `id` string
      - `displayName` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string
    - `items` PurchaseOrderItemDto[]
      - `id` string
      - `purchaseOrderId` string
      - `inventoryItemId` string
      - `inventoryItem` InventoryItemSummaryDto
        - `id` string
        - `name` string
        - `sku` string, nullable
        - `category` string
        - `trackLots` boolean
        - `totalOnHand` union
          - integer
          - string, int32
        - `reorderPoint` union
          - integer
          - string, int32
      - `quantityOrdered` union
        - number, double
        - string, double
      - `quantityReceived` union
        - number, double
        - string, double
      - `quantityBackordered` union
        - number, double
        - string, double
      - `unitCost` union
        - number, double
        - string, double
      - `lineTotal` union
        - number, double
        - string, double
      - `lotNumber` string, nullable
      - `expirationDate` string, date-time, nullable
      - `containerId` string, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `totalCount` union
    - integer
    - string, int32

## Other responses

- `400` — Bad Request

---

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