This method can only be applied to mailings of type REGULAR
Sets the target group id of the mailing with the provided id.
Sets the target group id of the mailing with the provided id.
1 |
POST https://api.maileon.com/1.0/mailings/:mailingid/targetgroupid |
Example
POST https://api.maileon.com/1.0/mailings/1/targetgroupid Authorization: Basic XXXXXXXXXXXXXXX Content-Type: application/vnd.maileon.api+xml; charset=utf-8 <?xml version="1.0" encoding="UTF-8"?> <targetgroupid>2</targetgroupid> INFO: Status: 204 No Content