Choose what you allow. Your choice applies on every tracken.ee address and you can change it any time with “Cookie settings” in the footer.

Remember your cookie choice, language and theme. Without them the site doesn't work the way you chose.

A cookie with your choice (6 months); language and theme in browser storage.


The services below learn that you visited this site, whether you came from their ad and whether you then created a Tracken account. That shows us which ads work, and these companies may show you Tracken ads later. They may link the data to your account with them. For Meta, Tracken ID's server reports the new account and also sends a hash of your e-mail address, your IP address and browser details.

ServiceCookiesKept for up to
Meta (Facebook, Instagram)_fbp, _fbc90 days

Tracken's own visit counter uses no cookies, stores no IP addresses and shares nothing with anyone. Privacy policy

Skip to content
Beta
BetaThe Tracken Accounts API is in beta: it may still change before v1, and every change is announced in the changelog.

ContactCreateRequest

Request

Sent in requests. Its values are closed: anything not listed is refused.

Attributes

2
dataContactInputrequired

The record.

12 attributes of data
typeContactTyperequired

Legal person or natural person.

One of company, person

namestringrequiredat least 1 character

Name.

registry_codestring · nullable

Commercial register code (companies), or a person's isikukood.

vat_numberstring · nullable

VAT number, with country prefix.

emailstring (email) · nullable

Email used for sending invoices.

phonestring · nullable

Phone.

addressAddress · nullable

Postal address, replaced as a whole; null clears it.

4 attributes of address
streetstring

Street and house number.

citystring

City or settlement.

postal_codestring

Postal code.

countrystringpattern ^[A-Z]{2}$

ISO 3166-1 alpha-2 country code.

ibanstring · nullable

Bank account for paying this contact; becomes its primary account.

bicstring · nullable

BIC/SWIFT of that bank account; filled from the IBAN's bank when omitted.

payment_term_daysinteger · nullable

Default days from invoice date to due date, 0-365 (BUSINESS_PARTNER_PAYMENT_TERM_INVALID otherwise).

notesstring · nullable

Free text.

external_refstring · nullable1–200 characters

Your own id for this record (from the system you migrate from or sync with), up to 200 characters, unique per organization and resource. Filter lists by it; on_conflict resolves a create against it.

on_conflictOnConflictdefault "error"

What a create does when a record of the same resource already holds the sent external_ref. error: 409 EXTERNAL_REF_EXISTS with existing_id. return: 200 with the existing record, unchanged.

One of error, return, update

Details

update: apply the sent fields to it as a PATCH would and answer 200; refused like a PATCH when the record is no longer editable.

Used by