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 orderby | integerImage position |
product | |
alt | stringAlternative image text |
width | integerWidth |
height | integerHeight |
hash | stringImage hash |
needProcess | booleanIs image need process or not |
id | integerUnique id |
path | stringPath (URL or file name in storage directory) |
fileName | stringFile name |
mime | stringMIME type |
storageType | stringStorage type |
size | integerSize |
date | integerCreate / modify date (UNIX timestamp) |
Responses
200Success
Response schema:
Success orderby | integerImage position |
product | |
alt | stringAlternative image text |
width | integerWidth |
height | integerHeight |
hash | stringImage hash |
needProcess | booleanIs image need process or not |
id | integerUnique id |
path | stringPath (URL or file name in storage directory) |
fileName | stringFile name |
mime | stringMIME type |
storageType | stringStorage type |
size | integerSize |
date | integerCreate / modify date (UNIX timestamp) |