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": "6001c1da-bea7-438b-b736-0eca1870ece4",
  "LocationIds": [
    "fdf8637d-8365-424a-907c-d98af233416e"
  ]
}

Response

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

[
  "4842f72f-3f8e-4bfa-acc1-f8762f761785"
]