Use this call to create stock item prices for a specific channel
Name | Type | Description |
---|---|---|
inventoryItemPrices | List<StockItemPrice> | List of stock item prices to create |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/CreateInventoryItemPrices
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
This is an example of the request structure. Results will vary depending on your data.
inventoryItemPrices=[
{
"Rules": [
{
"pkRowId": 1,
"fkStockPricingId": "46e0acf6-0b9c-4936-8f0d-c8f5dd3878cf",
"Type": "sample string 2",
"LowerBound": 3,
"Value": 4.1
}
],
"pkRowId": "d3f67b38-9dbd-459f-93c0-1824805ad51f",
"Source": "sample string 2",
"SubSource": "sample string 3",
"Price": 4.1,
"Tag": "sample string 5",
"UpdateStatus": 0,
"StockItemId": "a021a2f9-c4be-4319-9f13-3d46b88cffd8",
"StockItemIntId": 2
}
]
This is an example of the response JSON. Results will vary depending on your data.