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": "f08b3d24-e07f-452e-9a57-d6eff47edd0e",
  "LocationIds": [
    "bcbcbae6-265c-488f-91f8-9b116eb39343"
  ]
}

Response

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

[
  "633107ce-e138-4193-80ef-cb1851311be5"
]