Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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.PurchaseOrder.SearchPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

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": "640b8b0a-f788-446e-be8b-18815b11ff0c",
  "LocationIds": [
    "d6fb6262-5b7d-45d7-93b5-f2e4843b5310"
  ]
}

Response

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

[
  "23cdb532-2fde-4dfb-80c5-22b9e2dcdbf8"
]