Update Contact by Record ID

Scott Wallace
Scott Wallace
  • Updated
PUT https://api.actonsoftware.com/api/1/list/{listid}/record/{recordid}

This endpoint allows you to update a record by specifying the record ID.

PUT https://api-eu.actonsoftware.com/api/1/list/{listid}/record/{recordid}

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
listid Path False Required String Specify the ID of the list being updated.
recordid Path False Required String Specify the ID of the record.
("{listid}:{recordid}")
  Body False Required String A JSON formatted object to describe the structure of the record that is being added.
returncontact Query False Optional String Return the data of the updated contact in the response?
("Y"/"N")

 

Response

{
  "status": "success",
  "message": "Record updated"
}

 

Code Examples

cURL

curl -X PUT https://api.actonsoftware.com/api/1/list/l-0002/record/l-0002:3 -H 'Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs' -H 'Content-Type: application/json' -d '{"E-mail Address":"john.doe@act-on.com","First Name":"John","Last Name":"Doe"}'

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request