Overview
Everything belongs to a workspace. Within a workspace you define items (your product catalog), locations (where stock lives), and tags (optional organization). Inventory balances store the current on-hand quantity for each item at each location. Every change to stock creates an inventory movement — an append-only audit record.Workspaces
A workspace is your company’s inventory environment: one catalog, one team, one billing plan, and one set of usage limits.- Each person can belong to multiple workspaces (e.g. separate businesses or departments).
- The workspace slug appears in your dashboard URL:
app.retrac.co/{slug}/inventory. - Find the workspace ID under Settings → General when using the API.
Workspace fields (API)
Workspace fields (API)
The unique ID of the workspace.
The name of the workspace.
The slug of the workspace.
The logo of the workspace.
The transfers usage of the workspace.
The usage limit of the workspace.
The items usage of the workspace.
The items limit of the workspace.
The suppliers usage of the workspace.
The suppliers limit of the workspace.
The storage units limit of the workspace.
The tags limit of the workspace.
The users limit of the workspace.
The plan of the workspace.
The Stripe ID of the workspace.
The date and time when the billing cycle starts for the workspace.
The date and time when the workspace was created.
The role of the authenticated user in the workspace.
Items
An item is a product or SKU in your catalog. Items are not tied to a single quantity — stock is tracked per location via balances.| Field | Purpose |
|---|---|
| Item code (SKU) | Unique identifier within the workspace |
| Description | Human-readable name or details |
| Cost | Unit cost for reporting |
| Supplier | Optional vendor reference |
| Tags | Optional colored labels for filtering |
Item fields (API)
Item fields (API)
The unique ID of the item.
The code/SKU of the item.
The description of the item.
The quantity of the item.
The cost of the item.
The unique ID of the tag assigned to the item. This field is deprecated
– use
tags instead.The tags assigned to the item.
The user ID of the creator of the item.
The workspace ID of the item.
The date and time when the item was created.
The date and time when the item was last updated.
The project ID of the item. This field is deprecated – use
workspaceId
instead.Locations
Locations represent physical or logical places where stock is held:- Warehouse — main storage
- Van / Truck — mobile stock
- Site — job site or retail floor
- Other — anything else
Inventory balances
The balance for an item at a location is the on-hand quantity right now. Balances change when you:- Set opening stock or adjust stock
- Complete a transfer (out from source, in at destination)
- Revert a transfer (owner only)
Transfers
A transfer moves quantity from one location to another. In Retrac, transfers are instant: when you create a transfer, stock moves immediately and the transfer is marked completed.- A transfer has one source and one destination location.
- It can include multiple line items, each with its own quantity.
- Workspace owners can revert a completed transfer, which restores stock and writes reversal movements.
Movements (audit ledger)
Every stock change creates a movement record. Movement types include:| Type | Meaning |
|---|---|
opening | Initial or adjusted on-hand quantity set |
transfer_out / transfer_in | Stock leaving or arriving via a transfer |
transfer_revert_out / transfer_revert_in | Stock restored after a reverted transfer |
adjustment_plus / adjustment_minus | Manual quantity corrections |
receipt / issue / return | Reserved for future flows |
Tags
Tags are workspace-scoped labels with a name and color. Assign one or more tags to an item to filter the inventory list.Tag fields (API)
Tag fields (API)
Usage limits
Plans enforce limits on:- Total items — cumulative count; does not reset monthly
- Transfers — counted per billing cycle
- Locations, tags, and users — workspace caps