Categories
Organize the catalog into a browsable tree.
Categories form a tree for organizing the catalog and powering navigation and category landing pages.
Structure
Each category has a name, a URL-safe code/slug, and an optional parent. Build the hierarchy by setting parents; the storefront can render category menus and listing pages from it.
Assigning products
Assign a product to one or more categories (MCP assign_product_to_category).
A product can live in several categories at once.
Categories vs collections
- Categories = the catalog's structural taxonomy (relatively stable).
- Collections = merchandising groups (curated or rule-based), often seasonal or campaign-driven.
Use categories for navigation/structure and collections for storefront merchandising blocks.
