Skip to main content

DefaultCustomerCreationStrategy

The default CustomerCreationStrategy that creates a minimal stub Customer with only an email address. The Customer is assigned to the current channel, matching Vendure core's CustomerService behavior.

When the invitee later registers via registerCustomerAccount, Vendure core will find this stub Customer by email and attach a User to it.

Note: soft-deleted Customers are excluded from the lookup, so a new stub will be created if only a soft-deleted record exists for this email.

Exclusive to Vendure Platform

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