Home > @shopware-pwa/shopware-6-client > register
# register() function
Register a customer
Signature:
export declare function register(params: CustomerRegistrationParams, contextInstance?: ShopwareApiInstance): Promise<Customer>;
# Parameters
Parameter | Type | Description |
---|---|---|
params | CustomerRegistrationParams | |
contextInstance | ShopwareApiInstance |
Returns:
Promise<Customer>
# Exceptions
ClientApiError