Use this call to get all StockItem Compositions
Name | Type | Description |
---|---|---|
inventoryItemId | Guid | Id of StockItem |
getFullDetail | Boolean | Indicate if the method has to be recursive, going throw inner composites, getting only real items |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Inventory/GetInventoryItemCompositions
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.
inventoryItemId=cba39de6-f73b-49f2-b9ad-5894f5dc2baf&getFullDetail=true
This is an example of the response JSON. Results will vary depending on your data.
[
{
"LinkedStockItemId": "da7bab03-0533-418b-b01e-078879f8ef60",
"ItemTitle": "sample string 2",
"SKU": "sample string 3",
"Quantity": 4,
"PurchasePrice": 5.1,
"InventoryTrackingType": 64,
"DimHeight": 7.1,
"DimWidth": 8.1,
"DimDepth": 9.1,
"Weight": 10.1,
"PackageGroupId": "d617737d-ef04-43f3-aad5-5a20f9f701a5",
"TaxRate": 12.1,
"StockItemId": "c3a00ee1-a52c-421b-bae9-1819f48e25a1",
"StockItemIntId": 2
}
]