Skip to main content
PUT
Update a contact
Change one contact by its id. Send only the fields you want to change. Fields you leave out keep their values. Items work differently from jobs: the items you send don’t replace the contact’s list. An item with an id changes that item, an item without one is added, and an item with its id and "_destroy": true is removed. See also Retrieve a contact and Delete a contact.

Authorizations

X-API-KEY
string
header
required

Your Detrack API key, from Integrations > API Key in the dashboard.

Path Parameters

id
string
required

The contact's id, from List contacts or Create a contact.

Example:

"65263b0c29e804cae4fedd76"

Body

application/json
data
object
required

Contact fields you can send. On update, send only the fields you want to change. A contact needs deliver_to_collect_from or company_name.

Response

The updated contact.

data
object

A saved recipient. Empty fields are null. The pick-up fields (pick_up_*) are returned only if your account uses point-to-point jobs.