Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /CreateNewItemAndLink

Allows 150 calls per minute

Response: Nullable<Guid>



Create a new item and link it to a specific stock item

Parameters

NameTypeDescription
pkStockItemIdGuidStock item id
itemTitleStringTitle
sourceStringSource
subSourceStringSubsource
channelSKUStringChannel SKU
locationIdNullable<Guid>User location
initialQuantityNullable<Int32>Initial quantity once the inventory item has been created

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/CreateNewItemAndLink

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.

pkStockItemId=7ec3b871-3db5-438e-abf3-b5888c380fed&itemTitle=sample string 1&source=sample string 1&subSource=sample string 1&channelSKU=sample string 1&locationId=1b7e831e-9637-4a79-a0bf-44b0167f2c8c&initialQuantity=1

Response

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

"103a30de-9dbf-4167-8ac9-decb70cfd087"