Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /FindStockItem

Allows 150 calls per minute

Response: FindStockItem_Response



Try to find an item by SKU of SpplierCode

Parameters

NameTypeDescription
requestFindStockItemRequest

Permissions

GlobalPermissions.Inventory.PurchaseOrder.ViewPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/PurchaseOrder/FindStockItem

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.

request={
  "Codes": [
    "sample string 1"
  ]
}

Response

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

{
  "Items": [
    {
      "pkStockItemId": "39a5b70e-6486-424c-b438-f592cde60b93",
      "ItemNumber": "sample string 2",
      "ItemTitle": "sample string 3",
      "InventoryTrackingType": 4,
      "TaxRate": 5.0,
      "PurchasePrice": 6.0,
      "KnownPurchasePrice": 1.0,
      "SupplierCode": "sample string 7",
      "SupplierBarcode": "sample string 8",
      "fkSupplierId": "dbe8d40e-8b56-4add-902e-2a56972c034e",
      "SupplierMinOrderQty": 1,
      "SupplierPackSize": 1,
      "ContainsComposites": true,
      "StockItemIntId": 1
    }
  ]
}