Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=51774005-2c0b-4c19-b61a-6c4a55391744&imageIds=[
  "9ccd4577-c399-4164-a9df-a338fe595845"
]

Response

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

[
  {
    "PictureId": "30c342bc-91ca-4d8e-9843-4d4f37177f3d",
    "Source": "sample string 2",
    "IsMain": true,
    "SortOrder": 4
  }
]