Skip to main content

Categories and catalog configuration

Configuring what each product is: its category, the category's attributes, the defaults and classification it hands down, its variant axes and its numbering sequence.

Every product has exactly one category. The category says what the product is — how it is counted, costed and tracked, which accounts it posts to, how it is taxed, what a statute calls it, which standard codes a customer's catalogue gets for it, and which attributes it must carry. Collections say only where a product is shown, and a product may be in any number of them (see Units, collections and brands); they decide none of the above.


Who can use the screen​

PermissionWhat it allows
category.readSee Products → Categories and each category's resolved defaults
category.manageCreate, edit, move and delete categories
custom_field.read / custom_field.manageSee / add a category's attributes
translation.write (with category.read)Give a category's name in another language — see Names in other languages. Managers and Sales by default; it is not category.manage, and a role may hold either without the other

The screen used to be gated on item.read and item.manage, which showed buttons the API then refused and hid the screen from a role that could use it.


1. Category hierarchy and inheritance​

Access category administration at Products → Categories.

Tree structure​

Categories can be organized into a multi-tiered parent-child hierarchy.

  • Top-level categories: Broad kinds of product (e.g., VAPOR, TOBACCO, FOOD, GENERAL-MERCHANDISE).
  • Sub-categories: Narrower kinds inheriting from the top-level parent (e.g., VAPOR > VAPOR-DISPOSABLE, TOBACCO > CIGAR > PREMIUM-CIGAR).

Every product has one​

A product's category is required. A product created with no category chosen — on the create drawer, in a products file, by the assistant — gets the company's default category: the setting inventory.default_category, GENERAL unless you change it. The General category is made the first time a company needs it. A variant is always of its master's category: everything the category decides is read from the master's for a variant, and a change of category is made on the master and carries its variants.

Cascading defaults​

When creating or editing a category, you can specify standard defaults:

  • Item type: Stock, non-stock, or service.
  • Tracking method: None, Lot tracking (batch code + expiry date), or Serial tracking (individual unit identifiers).
  • Costing method: Average costing, Standard costing, FIFO, or Specific identification.
  • Pick first (removal strategy): Which stock a pick takes first.
  • Units of measure: Default Base UOM (e.g., EA), Sales UOM (e.g., BOX), and Purchase UOM (e.g., CASE).
  • Accounting accounts: Default Income, Expense, and Inventory Asset accounts for GL posting.
  • Posting class: Financial posting profile governing journal generation.

Sub-categories inherit these values from their parent category unless explicitly overridden. When an operator creates a new product and chooses a category, these defaults populate the form automatically, ensuring accounting consistency across all products.

Editing a category reaches every product of it​

A product that does not set a field itself reads it from its category when it is read, so a category edit changes every such product at once. Three things follow.

  • Clearing a field returns it to inheriting. Clear the costing method on a sub-category and it takes its parent's again. Moving a category to the top of the tree is clearing its parent. Name, item type, tracking, base unit and the bought/sold flags always have a value and cannot be cleared.
  • An edit that would change what stock on hand is worth, or how it is followed, is refused. If changing the costing method, the tracking or the item type — or moving the category under a parent with another costing method — would change it for any product that holds stock, the save is refused with how many products and which. Ship or write off the stock, set the value on those products so they keep it, or make the change on a new sub-category. The rule is the same one a product already had for its own costing method.
  • The screen asks first. Saving an edit that changes the costing method, the tracking, the item type or the parent first shows how many products it reaches and how many of them hold stock, with examples. If any hold stock, it says the save would be refused and why, and sends nothing; otherwise it asks you to confirm. (Over the API: POST /api/v1/categories/{id}/preview-change with the same body as the save.)
  • Inherit is a choice. The costing method and the removal strategy offer Inherit from the parent category or company setting; a new sub-category starts on it. Only the fields you change are sent, so a save never clears what you did not touch.
  • Two people editing one category — the second save is refused and the form is refilled from what the first one saved.

Resetting a product's own value back to its category is held to the same rule: it is refused while the product holds stock if the category says something different.

Names in other languages​

A category's name can be translated with Translations at the top of its page, by whoever holds translation.write (the panel and its rules are described in Working in another language). Each person then reads the category in the language of their own preference — in the categories table, in every category picker and on the product — and everybody else reads the name as typed. Nothing else on a category is translated: the code, the description, the units and the SKU key stay as typed.

The name as typed is what everything that is not a person's screen uses: the categories file exports and imports it, the assistant's tools read it, and the category's page shows and saves it — so somebody reading in Spanish who saves an edit does not rename the category. The category list stays in code order, and its search (GET /api/v1/categories?q=) matches the code, the name as typed, or the name in any language it has been translated into. A translation is in the category's audit history and moves its version, so the page reads the category again when the translations close. It changes nothing a product inherits.


2. One form: Basics · Regulated · Tax · Attributes & variants · Defaults​

Products → Categories is a table of every category, each sub-category indented under its parent, with what it is regulated as, how many products are in it, its unit, costing method and variant axes. Search keeps the way down to a match. Click a category's code to open its own page; New category and a row's + (Add a sub-category) open the same page for a new one. The page has the category's name and its actions at the top — Translations, Add a sub-category, Delete category, Cancel and Save — and one section each for the parts below, then Products: the first products in it, each a link, and how many there are. Every field a category may leave empty shows what it inherits inside the field, and from which category; setting it shows Overridden. Set each value as high up the tree as it is true: a state treating disposables differently from the rest of vape is one value on Disposables, not an edit of every product beneath it.

  • Basics — code, name, the category it sits under, description, active.

  • Regulated (with the Compliance app on) — three choices:

    • Same as its parent — the default for a sub-category;
    • Regulated as a legal class (Disposable vapes, Cigars, Kratom …); beside it, read-only, what the class requires: the licence a buyer must hold, the minimum age, PACT coverage and the MSAi code, "from Disposables";
    • Not regulated — set on purpose, so a child can opt out of a regulated parent (Nicotine-free under Disposables).

    Minimum age is the one fact of the class a category may override, as a product may: empty reads the class's age, 0 is no minimum, any other number is that age. It applies to the class set on this category or above it, never to a class a product names itself, and a product's own override still wins. See Regulated categories.

  • Tax (with the Tax app on) — what the category's products are taxed as:

    • Same as its parent (the default), which for a regulated category with no tax of its own up the tree is its legal class's, so a new category regulated as Disposable vapes is taxed wherever disposable vapes are, without editing a tax;
    • Its own — a tax category made for it, with its code and name. You never manage it as a second list; Add a tax can then name this category alone;
    • Taxed like another category (advanced).

    Under it, read-only, Taxes that reach it: every rule in force whose tax is this category's, and every rule that reaches everything, by state — "PA 40% · MN 95% · PA sales 6%". Where a state's rule pack expects an excise on the category's legal class and no rule meets it, the form shows the same sentence the order desk would refuse with, before anything is sold.

  • Attributes & variants — the fields its products carry and the attribute keys a master's variants differ on (below, section 3).

  • Defaults — units, tracking, costing method, removal strategy, accounts, numbering and the standard codes, GS1 GPC brick and UNSPSC commodity.

How a product's tax and regulated category resolve​

Nearest first:

  1. the product's own;
  2. for a variant, its master's own;
  3. its category's, then that category's parent's, and so on up;
  4. none — NONE for the regulated category. For tax, the tax category linked to the product's legal class, then the company's default tax category (the tax module's own setting).

Every reader uses this one order. A collection never answers: a product is shown in many, and where it is shown does not change how it is taxed or licensed.

A product may override its category. Set a regulated or tax category on the product (on its page, or with Set tax category / Set regulated category on the products list) and it wins; the product page shows it as Overridden with the category's value beside it, and Catalogue health lists it under Overriding their category, as a warning — a nicotine-free product in a nicotine category, say, is right to be there, but somebody should know. Choosing None takes the product's own away so it follows its category again.

Standard codes: GS1 GPC and UNSPSC​

Two eight-digit codes a category may carry, for the customers who ask for them. Both are optional; a company whose customers never ask leaves them empty.

CodeWho asks for itWhat it is
GS1 GPC brickRetailers' item setup: GDSN (through 1WorldSync and the like), where gpcCategoryCode is mandatory, and the supplier portals of large grocers and convenience chainsThe brick, the lowest level of GS1's Global Product Classification. Store the brick's code, not its path: GS1 moves a brick between its own classes from one publication to the next and keeps the code
UNSPSC commodityProcurement catalogues, punch-out, public-sector buyers, and e-invoicing regimes such as Mexico's CFDIThe United Nations Standard Products and Services Code — segment, family, class and commodity, two digits each, written as one eight-digit number

Eight digits, checked for format only. Spaces, hyphens and dots are dropped as the code is saved — "43-21-15-03" and "4321 1503" are both 43211503 — and anything else that is not eight digits is refused, on the screen in the reader's language and in a file or an assistant's proposal by the service. Two well-formed values are accepted on purpose:

  • 99999999 is GS1's own holding brick, "no brick fits yet". Use it where a retailer needs a brick before you have found the right one, and replace it when you have.
  • A UNSPSC code ending 00 is not a commodity: 00 at the end names a UNSPSC class, 0000 a family and 000000 a segment. Some buyers ask for no more than that, and the check is for format only, so any of them is taken. Look up its level in UNGM's list before you rely on it.

No code lists ship with the product. GS1 and UNGM publish them under their own terms, so a well-formed code that names no brick is not caught here — the portal receiving it will say so. Look a brick up in GS1's GPC browser and a commodity in UNGM's UNSPSC search, and copy the code itself, not its title.

They inherit down the tree of categories. A category's own code, else its parent's, and so on up, nearest first. A product takes the codes of its category — a variant, its master's category's. A product has no code of its own and there is no company default; the tax engine never reads either code.

Where they show and where they go:

  • the category's page: its own standard codes and variant axes, and under each code what clearing it falls back to ("inherits 99999999 from VAPE");
  • the product page: a GS1 GPC brick and a UNSPSC commodity row in the summary, "from" the category that sets it, only where one resolves;
  • the categories file (Settings → Import and export): gpc_brick, unspsc_commodity and variant_axes columns, beside tax_category and regulated_category;
  • the products file: gpc_brick and unspsc_commodity columns on export, the codes each product takes from its category. They are export only: a file read back in ignores them;
  • the assistant: inventory.list_categories reads the categories, and inventory.update_category changes a category's name, its tax category and its two codes. An agent's change is proposed to a person to approve, and a change of tax category is escalated naming the SKUs it retaxes.

Setting, changing or clearing a code takes category.manage and is recorded in the audit log with the old and new value.


3. Category-scoped custom field attributes​

Regulated distributors handle diverse product collections that require distinct technical and regulatory attributes. Instead of adding columns to the product database, attributes are defined using category-scoped custom fields (stored with scope_kind = 'class').

Configuring attributes for a category​

  1. In Products → Categories, select a category and click Manage attributes.
  2. Click Add attribute and configure:
    • Name & Field Key: The machine key (e.g., puff_count, nicotine_strength, battery_mah, bottle_size_ml).
    • Label: Human-readable display label shown on screens and mobile forms.
    • Category: Text, Number, Boolean, or Select (dropdown list of allowed values).
    • Options: For Select fields, define the allowed choices (e.g., 0mg, 3mg, 6mg, 20mg, 50mg).
    • Required: When true, a product cannot be created with this category, or moved to it, without a value. Making a field required later does not stop an existing product from being saved with other changes; it is asked for the next time the product changes category. Generated variants start with their master's values, except an attribute a variant axis names, which holds that variant's own axis value. So a master needs the category's required values its axes don't fill.
    • Help text: In-app guidance displayed to staff describing the attribute's purpose.

Inheritance of attributes​

Any custom field defined on a parent category is visible on all of its sub-categories, and required on them where it is marked required. For example, attributes defined on E-Liquids (such as bottle_size_ml and vg_pg_ratio) are inherited by both Freebase and Nicotine Salts, while attributes defined solely on Nicotine Salts apply only to that specific sub-category.


4. SKU numbering sequences​

Every category can be bound to a unique sequence in the platform's numbering service.

Setting up a category's numbering key​

  1. Open the category's page (Products → Categories, click its code).
  2. Under SKU numbering sequence, choose an existing numbering sequence key (for example, SKU-VAPE, SKU-HARDWARE, SKU-CBD).
  3. If no sequence exists, configure one in Settings → Document numbering.
    • Example format: VAPE-{YYYY}-{#####} creates SKUs such as VAPE-2026-00001.
  4. When operators create products of this category, the Mint SKU button will query the sequence service and atomically claim the next sequential identifier.

5. Changing a product's category​

When a product was given the wrong category, or an organization restructures its catalog, products can be moved to another category — one at a time with Change category on the product, or many at once with Set category on the products list.

How a change of category works​

  • Preview first. Before changing a product's category, the screen calls POST /api/v1/categories/reclassify-preview, which compares what the product resolves to today — its own values included — with what it would resolve to in the target category, and reports:
    • Defaults that change, with the current and the new value. A value set on the product itself survives the move and is not listed.
    • Dropped attributes: fields the product has a value for that the target category does not define.
    • New attributes the target category adds, and required ones the product has no value for, which have to be given with the move.
    • What would stop it, in sentences, and the stock on hand.
  • Stock decides what may change. A product that holds stock cannot move to a category that would change its costing method, its tracking or its item type. Set the value on the product first so the move does not change it — setting the method it already uses is allowed with stock on hand — or ship or write off the stock. A master is held to its variants' stock: moving it is refused while a variant holds stock and the move would change that variant's costing method, tracking or item type.
  • Required attributes come with the move. The dialog asks for the target category's required attributes the product has no value for and sends them with the move.
  • A variant goes with its master. A variant's category cannot be changed on its own; change the master's, and its variants follow. On the bulk action a refused row says why.
  • Every change of category goes through these checks. A change sent through the API (PATCH /api/v1/items/{id} with a category_id) goes through the same checks and leaves the same record as the dialog.
  • Orphan policy: by default dropped attributes are kept on the product, hidden (orphan_action = 'keep'); choose clear to remove them.
  • Audit trail: every change records the previous category, the new category, who and when.
  • Tax and compliance follow the new category at once, unless the product overrides them.

Vape & E-Liquid Distributors​

Product Category: E-Liquids (ELQ)
├── Default Base UOM: EA
├── Default Tracking: Lot (enforces lot tracking and expiry date capture on receipt)
├── Numbering Key: SKU-ELQ-#####
└── Attributes:
├── Bottle Size (ml): Number, Required (e.g., 30, 60, 100, 120)
├── Nicotine Strength (mg): Select (0mg, 3mg, 6mg, 20mg, 35mg, 50mg)
├── Nicotine Category: Select (Freebase, Salt, Synthetic)
└── VG/PG Ratio: Select (50/50, 70/30, 80/20)

Product Category: Disposable Devices (DISP)
├── Default Base UOM: EA
├── Default Tracking: Lot
├── Numbering Key: SKU-DISP-#####
└── Attributes:
├── Puff Count: Number, Required (e.g., 5000, 10000, 15000)
├── E-Liquid Capacity (ml): Number (e.g., 12.0)
├── Battery Capacity (mAh): Number (e.g., 650)
├── Rechargeable: Boolean (true/false)
└── Nicotine Strength: Select (2%, 5%)

Hardware & Electronics​

Product Category: Hardware (HWD)
├── Default Base UOM: EA
├── Default Tracking: Serial (enforces serial number tracking on receipt and fulfillment)
├── Numbering Key: SKU-HWD-#####
└── Attributes:
├── Wattage Range (W): Text (e.g., "5W - 80W")
├── Battery Category: Select (Integrated, Single 18650, Dual 18650, 21700)
└── Color/Finish: Text