Update Contact
PUT/contacts/:id
This endpoint updates the membership of an existing contact list by adding new members or removing existing ones.
- Use the
assignMembers
array to add new members (with optional profile attributes such as name, tags, location, and purchase history). - Use the
unAssignMembers
array to remove members by email address.
If a workflow is associated with the contact list, adding new members will automatically trigger that workflow for the newly added contacts.
Request
Path Parameters
id uuidrequired
ID of the contact to update
- application/json
Body
required
- Array [
- ]
assignMembers object[]
Members to add in contact
email stringrequired
firstName string
lastName string
source string
birthday string
tags string[]
currency string
country string
province string
city string
address1 string
address2 string
phone string
postalCode string
company string
lastPurchaseOrder string
lastPurchasePrice string
latestOrderId string
unAssignMembers string[]
Email of the members to be removed
Responses
- 204
- 400
- 401
- 405
Successful operation
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Some error message"
}
API key is missing or invalid
Method Not Allowed
Loading...