Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=039224a6-5723-445e-b859-05794bf282a6&itemTitle=sample string 1&source=sample string 1&subSource=sample string 1&channelSKU=sample string 1&locationId=56149b29-22ae-4571-a166-485b9700987a&initialQuantity=1

Response

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

"4a46b50e-d167-45dc-b96e-593b5ebc7c5f"