Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /AddImageToInventoryItem

Allows 150 calls per minute

Response: AddImageToInventoryItemResponse



Adds an image to the stock item

Parameters

NameTypeDescription
requestAddImageToInventoryItemRequestAdd Image object

Permissions

GlobalPermissions.Inventory.MyInventoryNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

request={
  "ItemNumber": "sample string 1",
  "StockItemId": "4ad656c9-a013-4291-ab1f-2538e97e8c0a",
  "IsMain": true,
  "ImageUrl": "sample string 4"
}

Response

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

{
  "StockItemId": "03da04d0-d526-4179-9059-7130d3a58809",
  "ImageId": "2bc6814f-2454-406c-bbaf-d86764a0a1f8",
  "ImageUrl": "sample string 3",
  "ImageThumbnailUrl": "sample string 4"
}