Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": "1cbc4324-79ff-41c5-be3b-0a1a423db2b7",
  "IsMain": true,
  "ImageUrl": "sample string 4"
}

Response

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

{
  "StockItemId": "1fde553c-ee0f-4ccd-b588-30e80408fcc4",
  "ImageId": "772a7e90-1753-4af0-922d-d97163df4d02",
  "ImageUrl": "sample string 3",
  "ImageThumbnailUrl": "sample string 4"
}