post https://{host}/v1.1/customer/subscriptions
This API allows you to update SMS/email subscription details of a customer.
Request Body Parameters
Parameter | Datatype | Description |
---|---|---|
mobile/email/external_id/id* | string | Provide any of the customer identifiers to update subscription details. |
priority* | enum | Specify the service that you want to update. Value: TRANS for personalized messages, and BULK for campaign or promotional messages. |
scope | enum | Set scope to 'all' always. |
channel* | enum | Pass the communication channel that you want to update. Value: sms , email . |
is_subscribed* | enum | Specify 0 to unsubscribe, 1 to subscribe. |