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.

ItemCreateRequest

Request

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

Attributes

2
dataItemInputrequired

The record.

10 attributes of data
namestringrequiredat least 1 character

Name as printed on documents.

unitstringrequiredat least 1 character

Unit of measure, e.g. tk, h, kg.

codestring · nullable1–64 characters

Your code for the item, unique in the organization (a SKU, a charge code); ITEM_CODE_EXISTS when another item has it.

selling_pricestring · nullabledecimal string

Default net unit price on sales, not negative. Omit or send null when unknown; "0" is a stated price of zero.

purchase_pricestring · nullabledecimal string

Default net unit price on purchases, not negative; null when unknown.

sale_account_idstring (uuid) · nullable

Revenue account for sales lines; omit when the item is never sold.

purchase_account_idstring (uuid) · nullable

Expense account for purchase lines; omit when the item is never bought.

sale_tax_code_idstring (uuid) · nullable

Tax code for sales lines, one of the organization's.

purchase_tax_code_idstring (uuid) · nullable

Tax code for purchase lines, one of the organization's.

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