Use this call to add stock item by duplicating existing one
Name | Type | Description |
---|---|---|
inventoryItem | StockItem | New StockItem |
sourceItemId | Guid | Source StockItem |
copyImages | Boolean | Set to True to copy images from source stock item |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/DuplicateInventoryItem
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
This is an example of the request structure. Results will vary depending on your data.
inventoryItem={
"ItemDescription": "sample string 1",
"Quantity": 2,
"InOrder": 3,
"Due": 4,
"MinimumLevel": 5,
"Available": -1,
"IsCompositeParent": true,
"ShippedSeparately": true,
"ItemNumber": "sample string 7",
"ItemTitle": "sample string 8",
"BarcodeNumber": "sample string 9",
"MetaData": "sample string 10",
"IsVariationParent": true,
"isBatchedStockType": false,
"PurchasePrice": 12.1,
"RetailPrice": 1.1,
"TaxRate": 13.1,
"PostalServiceId": "6a7b0423-e5c8-4eb1-897a-c42d57094988",
"PostalServiceName": "sample string 15",
"CategoryId": "f7fa0dcb-0d2b-4552-ac94-5adb5c207094",
"CategoryName": "sample string 17",
"PackageGroupId": "a9760af9-d91c-442b-b42d-7ccc74796d0d",
"PackageGroupName": "sample string 19",
"Height": 20.1,
"Width": 21.1,
"Depth": 22.1,
"Weight": 23.1,
"CreationDate": "2023-01-10T13:49:46.2915673+00:00",
"InventoryTrackingType": 24,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "c0cc3c6e-6b7d-4aef-bd2b-e2051a80c2d2",
"StockItemIntId": 28
}&sourceItemId=f4c5e971-4e63-4264-98fd-2e8466adb773©Images=true
This is an example of the response JSON. Results will vary depending on your data.