cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CCO - how to set a password for loyalty user created with API?

former_member12197
Participant
218

Hi,

So the question is exactly what is in the title.

I'm creating loyalty user through API. But I'm not getting successful result setting the password.

I tried to give a "secret", "password" etc. with the body when creating user - it failed.

I've also tried the 3 API requests after the user creation - it failed as well.

Am I doing wrong? is one of below 3 request correct? What should I do to accomplish?

Thank you,

View Entire Topic
former_member12197
Participant

Found an answer. Remember you gotta replace {UUID} with the specific loyalty user UUID.

http://cco.ns.orchard.mn/ccos/api/ui/loyalty/loyaltyuser-management/users/{UUID}/resetpassword
{
 "newPassword": "98765",
 "confirmPassword": "98765",
 "passwordChangeForced": true
}