Skip to main content
PATCH
Update Item Image

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-runas
string

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

itemId
integer<int32>
required
imageId
integer<int32>
required

Body

application/json

The itemImage to update.

Model Class: UpdateItemImage

SalesChannelId
string
required
Example:

"1-1-1"

ImageData
string<byte>
Filename
string
Example:

"itemImage.jpg"

SortNumber
integer<int32>
Example:

3

Response

The updated item image.

Model Class: ItemImage

ItemId
integer<int32>
required
ImageId
integer<int32>
required
Filename
string
required

Name of the file.

Example:

"itemImage.jpg"

ImageDataType
string
required

Type of image.

Example:

"JPEG"

SalesChannelId
string
required
Example:

"1-1-1"

EbayUserName
string
required

Name of the eBay user if the sales channel is eBay.

Example:

"eBay_username"

SortNumber
integer<int32>
required

The sort number for arranging images in sales channels. Every image needs to have an unique sort number per sales channel and item.

Example:

3

Size
integer<int64>
required

The size of an image.

Example:

921

Width
integer<int32>
required

The width of an image in pixels.

Example:

1980

Height
integer<int32>
required

The height of the image in pixels.

Example:

1024