Use this call to upload images from Uploader to StockItem
Name | Type | Description |
---|---|---|
inventoryItemId | Guid | Id of StockItem |
imageIds | List<Guid> | List of image Ids |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/UploadImagesToInventoryItem
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=ca0ccde9-b583-421a-869e-d46c9e702fde&imageIds=[
"727e767c-63e5-452a-b429-2b648014ecfe"
]
This is an example of the response JSON. Results will vary depending on your data.
[
{
"PictureId": "7b285dab-2b3b-4537-ab66-3d47b1d3426c",
"Source": "sample string 2",
"IsMain": true,
"SortOrder": 4
}
]