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.
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=dec97763-b027-479c-8f46-1255ac4be26a&mainImageId=d144e485-dc3e-436f-8dd0-8c713baa0750
This is an example of the response JSON. Results will vary depending on your data.