---
title: "GetPurchaseOrdersWithStockItems"
method: POST
path: "/api/PurchaseOrder/GetPurchaseOrdersWithStockItems"
tags: ["PurchaseOrder"]
---

# GetPurchaseOrdersWithStockItems

`POST /api/PurchaseOrder/GetPurchaseOrdersWithStockItems`

Gets a list of Purchase Order Ids that contain undelivered stock items
<b>Permissions Required: </b> GlobalPermissions.Inventory.PurchaseOrder.SearchPurchaseOrderNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- PurchaseOrderGetPurchaseOrdersWithStockItemsRequest
  - `purchaseOrder` PurchaseOrderWithStockItem — List of Purchase Order Ids return using the Stock Item and Location Id parameters
    - `StockItemId` string, uuid — The Id of the Stock Item
    - `LocationIds` string[] — List of Location Ids to determine whether to return Purchase Order Ids based on stock location as well as Stock Item Id

## Response `200`

OK

- string[]

---

[API](https://skmtc.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/versions/0123569a22fb/schema)
