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=d93b942e-69e6-4ec8-9e7f-0319809cac2e&imageIds=[
  "4e95fbb1-009d-4539-8c9f-afc6a48d480a"
]

Response

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

[
  {
    "PictureId": "c832cce7-62d9-45bc-927b-3d637ff5f803",
    "Source": "sample string 2",
    "IsMain": true,
    "SortOrder": 4
  }
]