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=e3b94216-6742-4b5f-9783-59d8d98f8f58&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": "c1c0b9ee-77a0-4993-a410-134d86f70c9c",
    "Type": "sample string 2",
    "LowerBound": 3,
    "Value": 4.1
  }
]