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