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=57668c29-8462-4103-8142-b557f54773c9&imageIds=[
  "3d2bc842-e60c-45dd-976e-7ed09fdaa560"
]

Response

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

[
  {
    "PictureId": "6bb3ac88-803b-4953-af6e-6447c8ad0c34",
    "Source": "sample string 2",
    "IsMain": true,
    "SortOrder": 4
  }
]