Skip to main content
← Back to plugins
Public Customer Groups

Public Customer Groups

Tiny plugin to expose certain customer groups via the Shop API.

Version1.4.0
Compatibility>=2.2.0
CategoryStorefront
Last updatedFeb 5, 2026

Official documentation here

This plugin adds a custom field isPublic to CustomerGroups, so that we can determine if a CustomerGroup is publicly available. It also adds a GraphQL field Customer.customerGroups that returns the public customerGroups to the Shop API.

Getting started

Add the plugin to your vendure-config.ts:

Ts

Run a database migration to add the isPublic custom field to Customer Group.

In the admin UI, under customer groups, you can now expose a customer group by setting isPublic=true.

Changelog
  • Upgraded to Vendure 3.5.3
  • Documentation update
  • Updated official documentation URL
  • Upgrade to Vendure to 3.3.2
  • Update Vendure to 3.1.1
  • Update compatibility range (#480)
  • Updated Vendure to 2.2.6
  • Initial setup