v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
Inventory

AddImageToInventoryItem

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

post/api/Inventory/AddImageToInventoryItem

Request body

Example request

{
  "request": {
    "StockItemId": "00000000-0000-0000-0000-000000000000"
  }
}

Response

OK

StockItemIdstring uuid

pkStockItemId of an item

ImageIdstring uuid

ImageId of newly added image

ImageUrlstring

Image new URL

ImageThumbnailUrlstring

Image Thumbnail URL

Example response

{
  "StockItemId": "00000000-0000-0000-0000-000000000000",
  "ImageId": "00000000-0000-0000-0000-000000000000"
}