.updateContact()
Updates the details of a contact.
| Argument | Type | Required | Description |
|---|---|---|---|
contactId |
String | Yes | Contact id |
body |
Object | Yes | Request body |
options |
Object | No | Any options you may want to pass to .api() |
The body argument accepts the following keys:
| Key | Type | Description |
|---|---|---|
addresses |
Array | A list of bitcoin addresses |
company |
String | The company of affiliation |
emails |
Array | A list of contact email addresses |
firstName |
String | Contact's first name |
lastName |
String | Contact's last name |
This method returns a Promise.