You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Current »
The method allows changing the status of the current user's subscriptions to notification channels.
pcsdk.subscriptions("manage", params);
The current user's phone in full international format.
A phone number in full international format may begin with a plus sign (+) followed by the country code, city (area) code, and phone number.
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.
pcsdk.subscriptions("manage", { email: "john.doe@examplestore.com", phone: "+100000000000", email_bulk: true, email_chain: true, email_transactional: true, sms_bulk: true, sms_chain: true, sms_transactional: true, web_push_bulk: true, web_push_chain: true, web_push_transactional: true, mobile_push_bulk: true, mobile_push_chain: true, mobile_push_transactional: true });
pcsdk.subscriptions("manage", { email: "john.doe@examplestore.com", email_bulk: true, email_chain: false, email_transactional: true, });
pcsdk.subscriptions("manage", { phone: "+100000000000", sms_bulk: false, sms_chain: false, sms_transactional: true });
pcsdk.subscriptions("manage", { email_transactional: true, sms_transactional: true });
Page Navigation
Related Pages