The brands module organizes products by manufacturer or brand. You create brand records with logos, banner images, and SEO metadata, then associate products with a brand. On the storefront, you get dedicated brand pages and featured brand listings. Because a product belongs to exactly one brand, the module also makes it easy to filter catalog queries by brand. Source:Documentation Index
Fetch the complete documentation index at: https://86d.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
modules/brands · npm: @86d-app/brands
Installation
config.json:
Configuration
Maximum number of products returned by the brand products endpoint. This value is a string for module config compatibility.
Store endpoints
Store endpoints are public and return only active brands. Inactive brands are hidden from the storefront.| Method | Path | Description |
|---|---|---|
GET | /brands | List active brands, paginated and filterable by featured flag |
GET | /brands/featured | Get featured brands with optional limit query param |
GET | /brands/:slug | Get a single brand by slug |
GET | /brands/:slug/products | Get paginated products for a brand |
GET | /brands/product/:productId | Get the brand associated with a specific product |
Admin endpoints
Admin endpoints require authentication and return brands of all statuses.| Method | Path | Description |
|---|---|---|
GET | /admin/brands | List all brands, paginated and filterable |
GET | /admin/brands/stats | Get brand statistics |
POST | /admin/brands/create | Create a new brand |
POST | /admin/brands/:id/update | Update a brand |
POST | /admin/brands/:id/delete | Delete a brand and all its product associations |
GET | /admin/brands/:id/products | List products for a brand |
POST | /admin/brands/:id/products/assign | Assign products to a brand |
POST | /admin/brands/:id/products/unassign | Unassign products from a brand |
Components
Add these components to your MDX template files. Thebrands module must be listed in config.json.
BrandList
Renders a grid of active brands. Fetches its own data.
Maximum number of brands to display.
FeaturedBrands
Renders a row or grid of featured brands. Fetches its own data.
Maximum number of featured brands to display.
Types
Notes
- A product can belong to only one brand. Assigning a product to a new brand automatically removes it from its previous brand.
- Store endpoints return only active brands.
getBrandForProductreturnsnullfor inactive brands. - Deleting a brand cascades and removes all associated
BrandProductrecords. - Bulk assign and unassign operations are idempotent. Already-assigned products are skipped, and the return value is the count of new assignments only.

