Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /GetProductIdentifiersByStockItemId

Allows 250 calls per minute

Response: GetProductIdentifiersByStockItemIdResponse



Used to get product identifiers for a stock item

Parameters

NameTypeDescription
requestGetProductIdentifiersByStockItemIdRequestObject with StockItemId

Permissions

GlobalPermissions.Inventory.MyInventoryNode

Example Request

The following request format is required for this method.

Get

Endpoint URL

This is an example of the request structure. Results will vary depending on your data.

GET https://eu-ext.linnworks.net/api/Inventory/GetProductIdentifiersByStockItemId?request=%7B%0D%0A%20%20%22StockItemId%22%3A%20%22d91143b5-efb5-4654-be84-c89ad264505b%22%0D%0A%7D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/GetProductIdentifiersByStockItemId

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={
  "StockItemId": "d91143b5-efb5-4654-be84-c89ad264505b"
}

Response

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

{
  "ProductIdentifiers": [
    {
      "PkId": 1,
      "StockItemId": "74a02f07-fa9d-4942-be2a-3098a638edc0",
      "Type": 0,
      "Site": "sample string 3",
      "Value": "sample string 4",
      "ModifiedDate": "2022-01-13T12:45:49.5865258+00:00",
      "ModifiedUserName": "sample string 6"
    }
  ]
}