---
title: "AddImageToInventoryItem"
method: POST
path: "/api/Inventory/AddImageToInventoryItem"
tags: ["Inventory"]
---

# AddImageToInventoryItem

`POST /api/Inventory/AddImageToInventoryItem`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/Inventory/AddImageToInventoryItem`
- Auth: API key in header `Authorization`

Adds an image to the stock item
<b>Permissions Required: </b> GlobalPermissions.Inventory.MyInventoryNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- InventoryAddImageToInventoryItemRequest
  - `request` AddImageToInventoryItemRequest
    - `ItemNumber` string: SKU number of an item
    - `StockItemId` string, uuid: pkStockItemId of an item
    - `IsMain` boolean: Whether you want to set the image as main
    - `ImageUrl` string: Image URL

## Response `200`

OK

- AddImageToInventoryItemResponse
  - `StockItemId` string, uuid: pkStockItemId of an item
  - `ImageId` string, uuid: ImageId of newly added image
  - `ImageUrl` string: Image new URL
  - `ImageThumbnailUrl` string: Image Thumbnail URL

---

[API](https://skmtc.dev/linnworks/apis/inventory-api.md) - [All operations](https://skmtc.dev/linnworks/apis/inventory-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/inventory-api/revisions/3d2d6f37b533?raw)
