Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

PurchaseOrder /FindStockItem

Allows 150 calls per minute

Response: FindStockItem_Response



Try to find an item by SKU of SpplierCode

Parameters

NameTypeDescription
requestFindStockItemRequest

Permissions

GlobalPermissions.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": "0c6f331a-4f50-40ec-8ee5-f96b05565cb6",
      "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": "f3ad4e9f-9760-4192-84d6-4aa4dc78579d",
      "SupplierMinOrderQty": 1,
      "SupplierPackSize": 1,
      "ContainsComposites": true,
      "StockItemIntId": 1
    }
  ]
}