Table of Contents |
---|
...
Enhance admin app to consume the loyaltyId and communicate to loyalty API.
For that, it can be created a new method in AdminApp to communicate with Intl Loyalty Middleware service.
This method will receive the loyaltyId and country and will return the customerId and email. With the customerId FE is already prepared to fetch customer related data as it does for other input searches.
...
Since loyaltyId information are stored in distributed tables per country. Loyalty Middleware API requires country as part of the inputs. E.g.: loyalty-es-users-plk-dev
For that, proposed solution intends to pass the operator country using the following logic:
...