For the Enroll Customer API, I set the value of "userKey" parmeter as unique string of user(such as email or mp). And only one card is contained in the "cards" parmeter every call of API. When I call the API to bind other card for user, the response is that:
"errorMessage": "The UserKey provided is already in use."
So how to solve this problem?
Should I call the Unenroll Customer API first and then call the Enroll Customer API of containing all the user's card ? Or I can generate a different userKey every time call for the same user ?
A confuse, is the "userKey" parmeter related to user or user's card?
Solved! Go to Solution
This method seems complex.
Can I generate a different UserKey for the different card of the same user ? That means every user has more different UserKeys value for different cards and use the userKey value related to this card to do something else like active offer. Is is
reasonable and correct ?