Use this call to update inventory item main image
Name | Type | Description |
---|---|---|
inventoryItemId | Guid | Id of StockItem |
mainImageId | Guid | main image id |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/SetInventoryItemImageAsMain
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=4004f01a-1aba-45fd-99db-71efaa6d10c0&mainImageId=57d372e1-00e4-451b-aff8-04272876b569
This is an example of the response JSON. Results will vary depending on your data.