Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /GetInventoryItemPriceRulesBySource

Allows 150 calls per minute

Response: List<StockItemPricingRule>



Use this call to get stock item price rules by item id, source and subsource

Parameters

NameTypeDescription
stockItemIdGuidStock item id
sourceStringChannel source
subSourceStringChannel subsource

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/GetInventoryItemPriceRulesBySource

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.

stockItemId=c42f7bb0-d90e-48e5-ab75-a67f3e34a0fc&source=sample string 1&subSource=sample string 1

Response

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

[
  {
    "pkRowId": 1,
    "fkStockPricingId": "df58e71b-bb25-4747-a39c-1ab098fd6d25",
    "Type": "sample string 2",
    "LowerBound": 3,
    "Value": 4.1
  }
]