Variable | Type | Description |
---|---|---|
workflow_id | string | The ID of the workflow for which to update the status |
status | string|int | The status of the workflow: 0 (inactive) or 1 (active) |
Parameter | Description |
---|---|
boolean | True if the update has succeeded, False otherwise |
true
Code | Message | Description |
---|---|---|
407 | Missing required param workflow_id | workflow_id param is required |
407 | Missing required param status | status param is required |
131 | No such workflow with ID: %s. | Invalid access to workflow |
13002 | This workflow cannot be activated | This workflow cannot be activated |
{ "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 }