Update a specific contact
PUT
/lists/{list_id}/contacts/{contact_id}
Contacts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://rest.clicksend.com/v3/lists/428/contacts/552802' \
--header 'Content-Type: application/json' \
--data-raw '{
"address_city": "Nevada",
"address_country": "US",
"address_line_1": "Block 6",
"address_line_2": "Cool Bldg.",
"address_postal_code": "36063",
"address_state": "Las Vegas",
"custom_1": "Custom S72oJ9Teba",
"custom_2": "Custom NvrRJrKWeq",
"custom_3": "Custom 2ws94p1Dop",
"custom_4": "Custom Ku0AaIS5xb",
"email": "ellen@diaz.com",
"fax_number": "+16783276356",
"first_name": "Ellen",
"last_name": "Diaz",
"organization_name": "Awesome Organization",
"phone_number": "+16783275492"
}'
Response Response Example
{
"data": {
"_list_name": "List6eaG4lGIc9",
"address_city": "Nevada",
"address_country": "US",
"address_line_1": "Block 6",
"address_line_2": "Cool Bldg.",
"address_postal_code": "36063",
"address_state": "Las Vegas",
"contact_id": 552807,
"custom_1": "Custom S72oJ9Teba",
"custom_2": "Custom NvrRJrKWeq",
"custom_3": "Custom 2ws94p1Dop",
"custom_4": "Custom Ku0AaIS5xb",
"date_added": "1436161955",
"email": "ellen@diaz.com",
"fax_number": "+16783276356",
"first_name": "Ellen",
"last_name": "Diaz",
"list_id": 428,
"organization_name": "Awesome Organization",
"phone_number": "+16783275492"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Contact #552807 has been updated."
}
Request
Path Params
list_id
numberÂ
required
Example:
428
contact_id
numberÂ
required
Example:
552802
Body Params application/json