Update a contact

PATCH {{api_host}}/contacts/:id

Update a contact's name. Please note that all previous transactions with that contact will retain the contact's name at the time.

Request Body

{"name"=>"A new alias", "email"=>"updated@email.com", "phone"=>"0226644022", "account_number"=>"99887766", "metadata"=>{"custom_key"=>"Custom string", "another_custom_key"=>"Maybe a URL"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring