Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /CreateInventoryItemPrices

Allows 250 calls per minute

Response: Void



Use this call to create stock item prices for a specific channel

Parameters

NameTypeDescription
inventoryItemPricesList<StockItemPrice>List of stock item prices to create

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

inventoryItemPrices=[
  {
    "Rules": [
      {
        "pkRowId": 1,
        "fkStockPricingId": "cdbf4265-fd7a-4cbb-a927-006bfab4cb00",
        "Type": "sample string 2",
        "LowerBound": 3,
        "Value": 4.1
      }
    ],
    "pkRowId": "292cc6cc-c6ba-493f-981a-44b738ad9f42",
    "Source": "sample string 2",
    "SubSource": "sample string 3",
    "Price": 4.1,
    "Tag": "sample string 5",
    "UpdateStatus": 0,
    "StockItemId": "1fcdce5f-0804-4e1a-9af0-1eec5bb0704f",
    "StockItemIntId": 2
  }
]

Response

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