HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

pause

Pauses a mailing that is in the status SENDING in Optimizely Campaign.

The status can be queried with the getStatus method. The mailing must be of the type regular. All other mailings (event, confirmation, template) cannot be paused.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • Code structure

    void pause(String sessionId, long mailingId)
    

What’s Next
Did this page help you?