/
Processing images uploaded via ftp
Processing images uploaded via ftp
Function catalog/processImages (http://<DOMAIN>/api/catalog/processImages/)
Processing of images uploaded via ftp to the directory /content/import_images/
Parameters:
- token - authorization key obtained via auth function
- removePrevImages - BOOL need to remove previous images in the product
Response:
- status - status of the function execution
- OK - all records were updated successfully
- response.log - log of function execution for each record
- response.log[i].fileName - name of the processed file
- response.log[i].code - code of image addition status
- 0 - No errors
- 1 - Incorrect file extension
- 2 - Item by specified article is missing
- 3 - Error when moving the image
- 4 - Gallery with the specified name is missing
- response.log[i].message - status explanation
Query example http://<DOMAIN>/api/catalog/processImages/
Response example
Related content
Import of product stock
Import of product stock
More like this
Users
Users
Read with this
Обработка изображений загруженных через ftp
Обработка изображений загруженных через ftp
More like this
Export of stickers/icons
Export of stickers/icons
Read with this
Обробка зображень завантажених через ftp
Обробка зображень завантажених через ftp
More like this
Product set import
Product set import
Read with this