Online Flow
Figma link here https://www.figma.com/file/OnShL0eTp8W3E1iOoSz1d1/Discovery?type=whiteboard&node-id=892-26871&t=qAt4yrpONYGrZ1DS-4
Note: Match accounts should follow this. Email is preferable, but customer can change his/her amazon email, hence recommendation is to link accounts using amazon user id and rbi user id.
Business Scenarios
Having accounts in both domains are mandatory to access the exclusive offers.
Bk account? | Amazon Account? | Prime Account? | Draft of the flow |
---|---|---|---|
Yes | Yes | Yes | In the Amazon page the first CTA is to register/login as Amazon Prime member; once it’s done it will show the same page with a different CTA about “Activate the promotion”. Once in BK and registered/login, only in the first time, customer gets prompted with the “Link your account” process. Offers will be displayed in the offer section with a special tag referring to Amazon Prime |
Yes | Yes | No | When the customer is not Prime, the user will be sent to the “Complete Prime subscription page” and the CTA is not going to work until all the data to subscribed are ready |
Yes | No | No | When customer doesn’t have Amazon account, he/she has to register in Amazon and activate the Prime subscription before moving to BK and link the accounts. |
No | No | No | When customer doesn’t have any account (BK or Amazon) is mandatory to have both accounts active to link them and access the offers |
Amazon Integration References:
APIs to be explored:
Benefit Discovery API - we can find out if the logged the customer is Prime or regular Amazon customer
Account Linking API - we can link account Amazon and BK accounts.
Customer Identity API - we mark customer as pre-verified. The signup experience will skip the verification challenge at Amazon end and allow the customer to directly signup for Prime
https://prime-apis.amazon.eu/explorer/index.html
LWA - Login with Amazon
→ Note that last step describes how to integrate with your account system
integrate with your account system
Make Database Changes
Set up Login with Amazon
Obtain and Secure Amazon Customer Profile Data
Find or Create a Local Account
Mark the User as Authenticated
→ Important to highlight that BK already has the capability to integrate with social accounts such as google, facebook and apple. The solution design should adhere as much as possible the current architecture.
Sequence Diagram
Offer configuration references
- IREQ-122Getting issue details... STATUS - to make it generic, we should follow the Blue Light suggestion:
Customer clicks a button in the app within account settings, something like ‘Memberships’
Customer clicks ‘Blue Light Card Membership’
Customer enters number in field. API verifies the membership.
Offer is sent to offers section once validated
(example of a possible offer page where it’s highlighted the partner offer)
Sanity Configuration
RBI Sanity Studio / Order-Level Content/ Incentives/ Offers/Systemwide Offers/ Systemwide Offer/ Mechanics / Amazon Prime Offer:
FAQ
How we are going to check if a user has lost Prime membership (it should be a reusable process that we can apply for Blue Card and other future partnerships)
Before showing the offers, we should call Amazon (Benefits?) API and validate if the customer is Prime
How are we going to display the current membership status (especially if we end up having multiple partnerships)
N/A
How are we going to show Prime-related offers
Loyalty offers will be configured in Sanity with a new indicator. So, when getting these offers (Get UserLoyaltyOffers), we should apply the proper filter if the customer is Prime.
Will the check we do for status of the membership need to be configurable based on the partner we onboard? How would filters work ?
In Sanity, configure who should see that offer:
If not configured, everyone sees it
If configured, only the people who match filter
For example, “Amazon Prime Discount 10%” only visible to guests who have attribute AmazonPrimeActive = true
0 Comments