Appearance
confirmAccountRegistration 
Definition 
Confirm an account registration in double opt-in mode
Signature 
ts
export async function confirmAccountRegistration(
  params: {
    hash: string;
    em: string;
  },
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<Customer> 
Parameters 
| Name | Type | Description | 
|---|---|---|
| params | {
    hash: string;
    em: string;
  } | hash and em tokens | 
| contextInstance | ShopwareApiInstance | ShopwareApiInstance | 
Return type 
ts
Promise<Customer>
Properties 
| Name | Type | Description | 
|---|
Usage example 
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.