Integration Module 2.0 for Medusa is outRead the announcement
B

Brands

Brands for Medusa 2: CRUD, one brand per product, translatable description, admin and store API.

npm install @topo-js/medusa-plugin-brand
Category
Catalog
Built by
Topo-js
Version
1.0.0
Monthly downloads
Loading downloads
Last updated

Quality score

3/4
  • Security, Passed5/5
    • No install scripts, Passed
    • No known vulnerabilities, Passed
    • No malware reports, Passed
    • No secrets in the package, Passed
    • No obfuscation, Passed
  • Compatibility, Not checked1/5 · 4 not checked
    • Medusa version ranges, Passed
    • Clean installNot checked
    • BuildNot checked
    • MigrationsNot checked
    • StartupNot checked
    • We haven't installed this plugin into a test Medusa project yet.
  • Maintenance, Passed5/5
    • Public repository, Passed
    • Recent release, Passed
    • Up to date with Medusa, Passed
    • Tests in CI, Passed
    • Open-source license, Passed
  • Documentation, Passed3/3
    • Setup instructions, Passed
    • English, Passed
    • Environment variables, Passed

Version 1.0.0 was checked on Medusa 2.23.1 on Nov 29, 2026. How Gorgo verifies plugins →

Maturity

New

First stable release on Nov 29, 2026, 1 version, releases in 1 of the last 12 months. How Gorgo measures maturity →

@topo-js/medusa-plugin-brand

Brands for Medusa 2.23+: a brand module, one brand per product, a translatable description, and admin and store API routes.

Install

npx medusa db:migrate

Data model

Table (prefixed so it never clashes with your own tables); the entity is .

FieldTypeNotes
textsearchable ()
text, uniquedefaults to the title as a slug; lowercase letters, numbers and hyphens
text, nullabletranslatable: Settings > Translations in the admin
text, nullable
JSON, nullable

A product has at most one brand; a brand has many products (, ), stored in the link table .

API

RouteDescription
List. , , , , , ,
Create
Retrieve
Update (same fields, all optional)
Soft delete; also removes its product links
The brand's products, paginated (, )
, like ; a product with another brand moves to this one
The product's brand (or )
sets it, removes it
List, e.g. for a brand page
Retrieve
Medusa's product list filtered by one or more brands (); combines with , , , pagination...

Store routes return translated fields in the request locale: or the header. accepts .

Admin

  • Products > Brands (): list with search and pagination; create in a focus modal (title, handle, logo upload, description), built with from and validated with Zod.
  • Brand detail (): the dashboard's detail layout with a general section (edit drawer at , delete), Products (add from a product picker at , remove one or many), Metadata (key/value drawer at , as on products) and JSON.
  • Product page widget (): pick or remove the product's brand.
  • Settings > Translations: the brand's description, per locale.
  • UI texts in English and Spanish (), keys under .

Workflows

Exported from : , , , , . Each step compensates on failure.

WorkflowHookHook input

Extend brands

Add your own fields without forking the plugin, the way Medusa extends products: a module of your own, a module link to , in and , and a workflow hook that saves it.

For example, an ERP id on each brand, with an module of yours that has an model:

Do the same for edits with , and read the field back with on the brand routes. Without , accepts any object.

Development

The integration tests boot a bare Medusa app () that loads the plugin from its build, so run first. They create their own database with , , and (default on ).

To try it in a Medusa app while developing, use here and in the app, then here to rebuild on change.

Release

The workflow publishes with npm Trusted Publishing, no token: the package's settings on npmjs.com trust this repository and .

License

MIT