Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /SetInventoryItemImageAsMain

Allows 150 calls per minute

Response: Void



Use this call to update inventory item main image

Parameters

NameTypeDescription
inventoryItemIdGuidId of StockItem
mainImageIdGuidmain image id

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

inventoryItemId=857273ba-8499-4901-980b-e47991e5f1ad&mainImageId=1e1174b5-d727-4fee-bdc1-1d9ba8f4c1f0

Response

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