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=289c0ba0-bcd8-47b1-832b-d48d37df5d45&itemTitle=sample string 1&source=sample string 1&subSource=sample string 1&channelSKU=sample string 1&locationId=8d8eb8c2-4fdf-4c14-bb03-81a48101af01&initialQuantity=1

Response

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

"35dfcabc-46fc-4e47-ac95-edb7484a4f07"