Set option wether target group has to be updated before sending mailing. By default this options is activated.
1 |
POST https://api.maileon.com/1.0/mailings/:mailingid/settings/targetgroup_update |
Response
HTTP status code | Description |
---|---|
204 No Content |
If everything was ok. |
404 Not found |
Mailing with provided ID cannot be found |
409 Conflict |
Mailing is sealed |
Examples
204 No Content
1 2 3 |
POST https://api.maileon.com/1.0/mailings/1234/settings/targetgroup_update <targetgroup_update>false</targetgroup_update> 204 |
404 No Content
1 2 |
POST https://api.maileon.com/1.0/mailings/2222/settings/targetgroup_update 404 <error><message>mailing not found</message></error> |
409 Conflict
1 2 |
POST https://api.maileon.com/1.0/mailings/3344/settings/targetgroup_update 409 <error><message>mailing sealed</message></error> |