Appearance
POST
/product-information/media/mediasRequired scope:
viskan:media:createSaves media to media directory & database. Max batch size is 100.
Request body
JSON
{
"attribute1Code": "Red",
"attribute2Code": "Large",
"attribute3Code": "75cm",
"base64Image": "aGVsbG8gd29ybGQ=",
"filename": "product-image.jpg",
"mediaType": "...",
"mediaURL": "https://www.example.com/path-to-image/image.jpg",
"prefix": "prefix",
"priceLookUpNumber": "ABC-123",
"stockKeepingUnitId": 12345
}
Response
The medias were successfully created/overwritten.
JSON
"..."