# Update subscriber
# HTTP method: PATCH
https://api.sender.net/v2/subscribers/{email}or{phone}or{ID}
Updates subscriber's information, fields, groups or status.
Email, phone number, or ID string
required
Subscriber's email address, phone number, or ID
firstname string
Updated first name
lastname string
Updated last name
groups array
New groups assigned to the subscriber, you can use group ids separated by commas for more than one.
fields array
Provide an array formed by key - field name, value - field value.
subscriber_status string
The value must be one of ACTIVE, UNSUBSCRIBED, BOUNCED, SPAM_REPORTED
phone string
Phone number must include the country code: +370 or 00370 follow by a valid phone number
trigger_automation boolean
This property by default its true. You ca send it as false if you want not to activate an automation.
sms_status string
The value must be one of ACTIVE, UNSUBSCRIBED, BOUNCED, SPAM_REPORTED
transactional_email_status string
The value must be one of ACTIVE, UNSUBSCRIBED, BOUNCED, SPAM_REPORTED
Code snippets
Response example
{
"success": true,
"message": "Success",
"data": []
}