Skip to main content
POST
cURL
Send the image as base64 text in image_base64, at the top level of a JSON body with no item wrapper. This is not a multipart upload. Afterwards the item’s image_url holds the image’s address.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

item_id
string
required

The item's id, such as ITEM-0001. Not its uuid.

Body

application/json
image_base64
string
required

The image file, base64 encoded.

Response

200 - application/json

The item, under item.

item
object