| Variabila | Tip | Descriere |
|---|---|---|
| workflow_id | string | ID-ul automatizării pentru care se modifică status-ul |
| status | string|int | Status-ul automatizării: 0 (inactiv) sau 1 (activ) |
| Parametru | Descriere |
|---|---|
| boolean | True dacă actualizarea a reușit, False altfel |
true | Cod | Mesaj | Descriere |
|---|---|---|
| 407 | Missing required param workflow_id | Parametrul workflow_id este obligatoriu |
| 407 | Missing required param status | Parametrul status este obligatoriu |
| 131 | No such workflow with ID: %s. | Acces nepermis la automatizare |
| 13002 | This workflow cannot be activated | Această automatizare nu poate fi activată |
{ "err": true, "message": "Missing required param workflow_id", "code": 407 }
{ "err": true, "message": "Missing required param status", "code": 407 }
{ "err": true, "message": "Workflow not found", "code": 13003 }
{ "err": true, "message": "This workflow cannot be activated: The limit of active workflows has been reached for your free account. To activate this workflow, please upgrade your account.", "code": 13002 }
{ "err": true, "message": "To activate ecommerce workflows on this list, please add the remarketing code on your website", "code": 13002 }
{ "err": true, "message": "To activate workflows on this list, please first validate the sending domain(s)", "code": 13002 }