You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 2 Next »
The method allows changing the status of the current user's subscriptions to notification channels.
sdk.manageSubscription(params)
The current user's Phone.
It changes the current user's subscription status for transactional email campaigns.
It's recommended that always use the "true" value, even if you don't use transactional messages.
It changes the current user's subscription status for transactional SMS campaigns.
It changes the current user's subscription status for transactional webpush campaigns.
It changes the current user's subscription status for transactional app campaigns.
sdk.manageSubscription( email: "john.doe@examplestore.com", phone: "+100000000000", emailBulk: true, emailChain: true, emailTransactional: true, smsBulk: true, smsChain: true, smsTransactional: true, webPushBulk: true, webPushChain: true, webPushTransactional: true, mobilePushBulk: true, mobilePushChain: true, mobilePushTransactional: true )
sdk.manageSubscription( email: "john.doe@examplestore.com", emailBulk: true, emailChain: false, emailTransactional: true, )
sdk.manageSubscription( phone: "+100000000000", smsBulk: false, smsChain: false, smsTransactional: true, )
sdk.manageSubscription( emailTransactional: true, smsTransactional: true )
Page Navigation
Related Pages