Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /CreateInventoryItemPricingRules

Allows 150 calls per minute

Response: Void



Use this call to create stock item price rules

Parameters

NameTypeDescription
rulesList<StockItemPricingRule>List of stock item pricing rules

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

rules=[
  {
    "pkRowId": 1,
    "fkStockPricingId": "ccf2a092-3f6c-46c9-a339-a0e0829a139c",
    "Type": "sample string 2",
    "LowerBound": 3,
    "Value": 4.1
  }
]

Response

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