Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /UploadImagesToInventoryItem

Allows 150 calls per minute

Response: List<PictureSource>



Use this call to upload images from Uploader to StockItem

Parameters

NameTypeDescription
inventoryItemIdGuidId of StockItem
imageIdsList<Guid>List of image Ids

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/UploadImagesToInventoryItem

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=ca0ccde9-b583-421a-869e-d46c9e702fde&imageIds=[
  "727e767c-63e5-452a-b429-2b648014ecfe"
]

Response

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
  }
]