v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Product Media

Create product media

Creates new product media

post/api/v1/productMedia

Request body

titlestring nullable
descriptionstring nullable
keyword'defaultImage' | 'printImage' | 'labelImage' | 'otherImage'
fileNamestring
fileContentstring byte

A base64 encoded image. Supported image formats JPEG, PNG

Example request

{
  "product": {
    "id": "1337"
  }
}

Response

Resource successfully created response