Skip to main content

Update product image by id

Update product image by id

Authorizations:Token
Query Parameters
id
required
integerId value of the Image object
Request Body Schema:
Image object that needs to be added
orderbyintegerImage position
product
altstringAlternative image text
widthintegerWidth
heightintegerHeight
hashstringImage hash
needProcessbooleanIs image need process or not
idintegerUnique id
pathstringPath (URL or file name in storage directory)
fileNamestringFile name
mimestringMIME type
storageTypestringStorage type
sizeintegerSize
dateintegerCreate / modify date (UNIX timestamp)

Responses

200Success
Response schema:
Success
orderbyintegerImage position
product
altstringAlternative image text
widthintegerWidth
heightintegerHeight
hashstringImage hash
needProcessbooleanIs image need process or not
idintegerUnique id
pathstringPath (URL or file name in storage directory)
fileNamestringFile name
mimestringMIME type
storageTypestringStorage type
sizeintegerSize
dateintegerCreate / modify date (UNIX timestamp)