sailthru/Sailthru_Client.php
public function updateBlast($blast_id, $name = null, $list = null,
                                $schedule_time = null, $from_name = null, $from_email = null,
                                $subject = null, $content_html = null, $content_text = null,
                                $options = [ ]
    ) {
        $data = $options;
        $data['blast_id'] = $blast_id;
        if (!is_null($name)) {
            $data['name'] = $name;
        }
        if (!is_null($list)) {
            $data['list'] = $list;
        }
        if (!is_null($schedule_time)) {
            $data['schedule_time'] = $schedule_time;
        }
        if (!is_null($from_name)) {
            $data['from_name'] = $from_name;
        }
        if (!is_null($from_email)) {
            $data['from_email'] = $from_email;
        }
        if (!is_null($subject)) {
            $data['subject'] = $subject;
        }
        if (!is_null($content_html)) {
            $data['content_html'] = $content_html;
        }
        if (!is_null($content_text)) {
            $data['content_text'] = $content_text;
        }

        return $this->apiPost('blast', $data);
    }
public function updateBlast($blast_id, $name = null, $list = null,
                                $schedule_time = null, $from_name = null, $from_email = null,
                                $subject = null, $content_html = null, $content_text = null,
                                $options = [ ]
    ) {
        $data = $options;
        $data['blast_id'] = $blast_id;
        if (!is_null($name)) {
            $data['name'] = $name;
        }
        if (!is_null($list)) {
            $data['list'] = $list;
        }
        if (!is_null($schedule_time)) {
            $data['schedule_time'] = $schedule_time;
        }
        if (!is_null($from_name)) {
            $data['from_name'] = $from_name;
        }
        if (!is_null($from_email)) {
            $data['from_email'] = $from_email;
        }
        if (!is_null($subject)) {
            $data['subject'] = $subject;
        }
        if (!is_null($content_html)) {
            $data['content_html'] = $content_html;
        }
        if (!is_null($content_text)) {
            $data['content_text'] = $content_text;
        }

        return $this->apiPost('blast', $data);
    }
public function updateBlast ( $ blast_id , $ name = null , $ list = null , $ schedule_time = null , $ from_name = null , $ from_email = null , $ subject = null , $ content_html = null , $ content_text = null , $ options = [ ] ) { $ data = $ options ; $ data [ 'blast_id' ] = $ blast_id ; if ( ! is_null ( $ name ) ) { $ data [ 'name' ] = $ name ; } if ( ! is_null ( $ list ) ) { $ data [ 'list' ] = $ list ; } if ( ! is_null ( $ schedule_time ) ) { $ data [ 'schedule_time' ] = $ schedule_time ; } if ( ! is_null ( $ from_name ) ) { $ data [ 'from_name' ] = $ from_name ; } if ( ! is_null ( $ from_email ) ) { $ data [ 'from_email' ] = $ from_email ; } if ( ! is_null ( $ subject ) ) { $ data [ 'subject' ] = $ subject ; } if ( ! is_null ( $ content_html ) ) { $ data [ 'content_html' ] = $ content_html ; } if ( ! is_null ( $ content_text ) ) { $ data [ 'content_text' ] = $ content_text ; } return $ this -> apiPost ( 'blast' , $ data ) ; }
updates existing blast

@param string /integer $blast_id
@param string $name
@param string $list
@param string $schedule_time
@param string $from_name
@param string $from_email
@param string $subject
@param string $content_html
@param string $content_text
@param array $options associative array
blast_id
copy_blast
copy_template
replyto
report_email
is_link_tracking
is_google_analytics
is_public
suppress_list
test_vars
email_hour_range
abtest
test_percent
data_feed_url
@link http://docs.sailthru.com/api/blast
@return array API result
updates existing blast