v1

latestOpenAPI 3.1.02026-08-0670151364.9 KB
Customers

Update a customer by id

put/customers/{id}

Path parameters

idstring required

The id of the customer to update.

The id of the customer to update.

Request body

externalIdstring

The id of the customer from the platform that is integrating with Adfin.

namestring

The full name of the customer.

trackingItemIdsstring[]

The list of tracking item catalogue IDs associated with the customer.

officeIdstring uuid

The office ID associated with the customer.

controlAgentIdstring uuid

The control agent ID to associate with the customer. Null values are ignored (use the unlink endpoint to remove the association).

Response

The request has succeeded and has resulted in one customer being updated.

idstring

The Adfin id of the customer.

externalIdstring

The id of the customer from the platform that is integrating with Adfin.

namestring

The full name of the customer.

creationTimestring date-time

The time the customer was created.

lastUpdatedTimestring date-time

The last time when the customer was updated.

timezonestring

The timezone of the customer.

tagsstring[]

The tag ids associated with the customer.

status'ACTIVE' | 'ARCHIVED'

The status of the customer (ACTIVE, ARCHIVED)

statusReasonCode'MERGED' | 'ARCHIVED_MANUALLY'

The reason as a predefined code for why the customer is in a certain status