Tripletex

Connect to Tripletex API v2

Customer → Update

AI-generated

Summary

Update an existing customer by specifying the customer's ID and the new details to apply.

Inputs

  • Customer ID (required) — The ID of the customer to update.
  • Name (required) — New name of the customer.
  • Email — New email address of the customer.
  • Phone — New phone number of the customer.
  • Is Private Person — Indicates if the customer is a private person.
  • Organization Number — Organization number for business customers (only relevant if 'Is Private Person' is false).
  • Address Line 1 — New first line of the address.
  • Address Line 2 — New second line of the address.
  • Postal Code — New postal code of the address.
  • City — New city of the address.
  • Country — New country code of the address, defaulting to 'NO'.

Output shape

a single record representing the updated customer data as returned by the Tripletex API

The operation performs an HTTP PUT request to update the customer resource at '/v2/customer/{customerId}'. The updated customer data includes all specified fields. The response contains the updated customer details in JSON format.

Examples

Example 1: Update customer 123 with new name and email

Provide customerId='123', name='New Name', and email='new.email@example.com', leaving other fields as needed.

Discussion