Use Case: Customer management through interface
Use Case
The Tehden API allows you to create, update, and manage customers programmatically. You can specify the source system of customer data (for example, an online store), update customer marketing authorizations, and exclude customers — all through the API.
A customer can be linked to an external system for cross-system identification. When creating or updating a customer, you can set both externalsystem_id and externalsystemidentifier. The externalsystemidentifier is a free-text string of your choice. Note that these two fields are mutually required: externalsystemidentifier must be provided when externalsystem_id is set, and vice versa. The accepted values for externalsystem_id are enumerated in the table below.
The externalsystem_id enum values are listed in the reference table. Please replace this placeholder with the actual table or table image before publishing. The table can be found here.
Used Endpoints
company_customer/createTehdenCustomer company_customer/createTehdenCustomerContactInfo company_customer/updateTehdenCustomer company_customer/getCustomerIdByExternalSystemIdentifiercompany_customer/getCustomerIdByIdentifiercompany_customer/findCustomerExample
The example below shows how to update a customer record by adding an external system reference, an external system identifier, and VAT status. See VAT options for a customer for more information.


The user interface screenshots are in Finnish, as the majority of Tehden users operate the platform in Finnish.