Skip to main content
Creates a new customer account in Shopify. On success, automatically logs in the customer and returns their data.

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.