This method moves existing emails of the project into one of its email folders. Only the folder changes: the
content, the name and the rest of the email stay as they are, and so does its address in Stripo. The language
versions of an email are moved along with it.
- Up to 100 ids in one request. All emails go to the same folder; without
folderIdthey go to the root of the project. - An email opened in the editor is moved too: the editor keeps working with it.
- An email that already lies in the folder is reported as moved; nothing changes for it.
The move runs in the background: the response carries an operationId, and the outcome is read with Get the status
of an operation within 15 minutes. result.moved lists the moved ids; result.failed lists the ids that were not
moved: not found in the project (NOT_FOUND, also for an email of another project or one deleted while the
move waited for its turn), a draft (DRAFT), a translated version (TRANSLATION_VERSION — move its original
instead) or passed more than once (DUPLICATE_ID). The move is all or nothing: if it fails, every email stays
where it was and the status is FAILED.
400The request is invalid (no ids, more than 100 ids, a folder not found among the email folders of the project); nothing is moved
409Some of the emails or the folder are being changed by another bulk operation right now; nothing is moved, repeat the request later
