When a customer orders a new Service via Customer Store, it is possible to link the customer's Account to a certain Manager. To perform this action, the following conditions should be met:
The Manager has the Active status and the Key is provided in the Manager's information (see Adding a Manager).
An Account visited any page of Customer Store via a link with the URL like mycustomerstore.com/catalog/?manager_key=litvinov23 where manager_key=litvinov23 is the parameter with the key of the required Manager.
The Account is not yet linked to any Manager or it is a new Account.
The key parameter can be added to a link with the URL of any page of Customer Store.
A Manager should manually provide a customer with a link that includes the key parameter.
In Customer Store, the key parameter is not displayed in the URLs of its pages.
On the customer side, the key parameter is stored in the browser cookies for one month. During this period, usually, it is not necessary to use the key parameter in the Customer Store links for automatic linking an Account to a Manager: the cookies data will be used. If the browser cookies were cleared, a link that includes the key parameter should be used.
After linking an Account to a Manager, the Manager will receive notifications according to the Account created and Account manager changedNotification Events (see Creating an Event Handler).