Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /GetPurchaseOrdersWithStockItems

Allows 150 calls per minute

Response: List<Guid>



Gets a list of Purchase Order Ids that contain undelivered stock items

Parameters

NameTypeDescription
purchaseOrderPurchaseOrderWithStockItemPurchase Order class made up of a Stock Item Id and a nullable Location Id

Permissions

GlobalPermissions.Inventory.PurchaseOrder.SearchPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/GetPurchaseOrdersWithStockItems

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

purchaseOrder={
  "StockItemId": "225c75e9-68ac-4509-afdf-70a51a5caa1e",
  "LocationIds": [
    "209f609b-75a2-42ce-8923-3b5f86e7c070"
  ]
}

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  "76b1c15a-1029-4a8c-9cf2-38fde3bf6739"
]