Parameters
CustomerRegisterInput
Returns
Promise<ShopifyCustomer> - The newly created and authenticated customer.
Throws
Error- If registration fails (e.g., email already exists).
Examples
Basic registration
Full registration form
After successful registration, the customer is automatically logged in. No need to call
.login() separately.