Categories are imported as part of the catalog sync process and represent the supplier’s own taxonomy. They form a parent-child tree through theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/VisualGraphxLLC/API-HUB/llms.txt
Use this file to discover all available pages before exploring further.
parent_id field. The product list endpoint accepts a category_id filter that automatically includes all descendant categories via a recursive CTE.
List categories
Returns all categories as a flat list withparent_id references. Filter by supplier to get only that vendor’s category tree.
Scope results to a single supplier’s category tree.
200 OK
Returns an array of category objects ordered by sort_order then name.
Category unique identifier. Use this with the product list
category_id filter.Supplier that owns this category.
Supplier’s own category code or ID (e.g.,
"TSHIRTS"). Preserved from the adapter’s raw data.Human-readable category name.
UUID of the parent category, or
null for root-level categories.Supplier-defined display order. Lower values appear first.
Get a single category
Fetch one category by its UUID.Category unique identifier.
200 OK — single category object with the same fields as the list response.
Error responses
| Status | Detail |
|---|---|
404 Not Found | "Category not found" |
Get OPS category input
Returns the category formatted for an OPSsetProductCategory mutation. Used by n8n when pushing a new category to an OPS storefront.
200 OK
Display name for the OPS category.
OPS parent category ID. Defaults to
-1 (no parent / root) since OPS parent IDs are managed separately.OPS visibility status.
1 = active.Slugified internal name derived from the category’s
external_id, or a lowercase-hyphenated version of name if external_id is empty.Building a category tree
The list endpoint returns a flat array. Build the tree client-side by grouping onparent_id:
When filtering products by
category_id, API-HUB automatically includes all descendant categories — you do not need to enumerate child category IDs manually.