Add new product image
Add new product image
Authorizations:Token
Request Body Schema:
Image object that needs to be added | orderby | integerImage position |
| product | |
| alt | stringAlternative image text |
| s3icons | ArrayS3 icons cache |
| needMigration | booleanFlag: Is need migration of image to S3 |
| 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 |
| s3icons | ArrayS3 icons cache |
| needMigration | booleanFlag: Is need migration of image to S3 |
| 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) |