Skip to main content

CustomerCreationStrategy

Controls how a Customer is created during the inviteCompanyUser flow when no Customer exists with the given email address.

The default implementation creates a minimal stub Customer (email only). To preserve the old behavior (reject invites for unknown emails), provide a strategy that throws a UserInputError.

  • Extends: InjectableStrategy

Exclusive to Vendure Platform

This page is part of the Vendure Platform documentation. Access requires a valid Vendure Platform license.