Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /DuplicateInventoryItem

Allows 150 calls per minute

Response: Void



Use this call to add stock item by duplicating existing one

Parameters

NameTypeDescription
inventoryItemStockItemNew StockItem
sourceItemIdGuidSource StockItem
copyImagesBooleanSet to True to copy images from source stock item

Permissions

GlobalPermissions.Inventory.MyInventoryNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/DuplicateInventoryItem

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.

inventoryItem={
  "ItemDescription": "sample string 1",
  "Quantity": 2,
  "InOrder": 3,
  "Due": 4,
  "MinimumLevel": 5,
  "Available": -1,
  "IsCompositeParent": true,
  "ItemNumber": "sample string 6",
  "ItemTitle": "sample string 7",
  "BarcodeNumber": "sample string 8",
  "MetaData": "sample string 9",
  "isBatchedStockType": false,
  "PurchasePrice": 10.1,
  "RetailPrice": 1.1,
  "TaxRate": 11.1,
  "PostalServiceId": "05a7a4ef-6640-410f-8423-ed448e091a5b",
  "PostalServiceName": "sample string 13",
  "CategoryId": "694a9923-c6ad-4c1b-8ffe-81573ff714ca",
  "CategoryName": "sample string 15",
  "PackageGroupId": "aa6009b7-a620-4905-ba2b-6a8e99aa2f43",
  "PackageGroupName": "sample string 17",
  "Height": 18.1,
  "Width": 19.1,
  "Depth": 20.1,
  "Weight": 21.1,
  "CreationDate": "2021-07-29T09:24:13.6897591+01:00",
  "InventoryTrackingType": 22,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "2b5975fa-91f7-4061-8a1b-22e74a5eda8f",
  "StockItemIntId": 26
}&sourceItemId=1b7bd42c-5af4-4500-9760-9739059aed6a©Images=true

Response

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