NodePing.Contacts.update_contact
You're seeing just the function
update_contact
, go back to NodePing.Contacts module for more information.
Update an existing contact for your account or subaccount.
NOTE When updating a contact's addresses, you must provide the current list of addresses. Any missing addresses will be removed.
You can reference the fields by using the NodePing.Contacts.Contact
struct
View the documentation to see the structure for creating contacts: https://nodeping.com/docs-api-contacts.html#post-put
Parameters
token
- NodePing API token that was provided with accountargs
- Arguments for creating a NodePing contactcustomerid
- optional ID to access a subaccount
Examples
iex> existing_contacts =
%{
"A775GC26" => %{
address: "me@example.com",
supressup: true,
type: "email"
}
}