Update customer

Update the data of a customer.
Customer data is created and updated with the "customfield" attribute. Every data attribute of a customer is a custom field, for example firstName, lastName, email etc. The URL parameter "customerId" can be used in two ways:

  • As a unique ID of the customer assigned by TIMIFY ("customerId"). In this case, you don't need the QUERY parameter "external"
  • use the "externalId" that you added to this customer. In this case, you need to add the parameter "external" ( for ex.: /?external=1) the API will search by your "externalId" and not by "customerId" assigned by TIMIFY

You can add "externalId" to the customer with the Developer API endpoints POST /customers and PATCH /customers/:customerId
You can use the endpoint GET /customers/customfields to retrieve all available custom fields for the selected company.
To create a new custom field you can use the endpoint POST /customers/customfields

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here!