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

Changes

No recorded changes to this endpoint across all 1 revision of this API.