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=423ec65c-1a02-4235-a903-7310a839379d&itemTitle=sample string 1&source=sample string 1&subSource=sample string 1&channelSKU=sample string 1&locationId=5d2b5d1b-5aa6-47c9-aba2-c559b504ca9d&initialQuantity=1

Response

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

"bd187c78-1ccf-4bec-9325-53c9462d9999"