Update a contact
The Populo API also allows you to programmatically update the contact. There are two ways that a contact can be updated, the first is simply to set the properties on the object as follows:
Set properties against the object
As a minimum this method expects the contact and a confidence level and will update the contact accordingly.
Add custom data - single item
To capture custom data you would add on the data you want to capture, as follows:
Add custom data - multiple items
You can add as many items as you want within a single capture:
Add a context to custom data capture
In addition you can describe the context in which you captured the data if required in the following manner:
The first property on the capture context is the type of capture, the second is a descriptive name, which is helpful when searching the data.
Was this article helpful?