Update Contact
Last updated
Last updated
To update a contact, make a PUT request to the following endpoint:
Request
Include your API key in the Authorization header of the request, as described in the section.
Response
A successful response to update contact endpoint will return the contact object in the JSON format. The response will include various details about the contact, such as its ID, name, and any associated details.
PUT
https://api.peach-in.com/v4/updateContact{contactId}
Replace the {
contactId
} with the current contactId
address
String
lastName
String
Contact's last name
firstName
String
Contact's first name
phone
String
Contact's phone number
String
Contact's email address
city
String
street
String
streetNumber
String
aptNumber
String
zipCode
String
groups
Array
Names of groups to add to the contact
removeGroups
Array
Names of groups to remove from the contact
customProperties
Object
object with contact's custom properties as set up in the system.