Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Items and locations

    A balance is one item at one location. Items come from your catalogue, locations from the setup of your account.

    On this page

    Inventory keeps one balance for each pair of an item and a location. A balance holds the quantity on hand, the quantity reserved and a revision. Everything else is built from balances: availability reads one, a transfer changes two, a count sets one.

    Items

    An item is a productId, the UUID your catalogue gives it. Inventory holds quantities, not the catalogue: names, units, prices and codes stay in your ERP. An item that was never moved reads as zero at revision 0.

    Quantities

    A quantity is an exact decimal written as a string, with at most six digits after the point, so 0.5 kg and 78.5 kg are exact and never rounded. Counting in whole units is the same: "24". See Limits for the largest value.

    Locations

    A location is a locationId: a warehouse, a cold room or a shop. The locations of a company are set up with the account, and a command that names another one is refused with a 403 and forbidden. A token covers the locations your client may read and change, which can be fewer than the company has.

    Organisation and company

    Stock belongs to a legal company of your organisation. Every command names both with customerOrgId and legalCompanyId, and both must be the ones of the token. A transfer moves stock between locations of one company; it does not move stock between companies.