on 2022 Jun 22 9:52 AM
Hi all,
what is the best way currently to create loyalty / customer users in the CCOM via API?
In the past they could be created using the endpoint api/internal/users, but I think that one was deprecated. In the swagger documentation there are endpoints for serverusers, businesspartners and loyaltyrecords, but they don't seem correct.
I could of course use the ui endpoints of /api/ui/loyalty/loyaltyuser-management/users, but that is probably not the intended way.
Thanks
Kai
Hello k.schittko,
Currently, there is no official Swagger API. There is a hidden API though which can be used to create basic customer users:
POST http://[servername]:[port]/ccos/api/users/register
JSON Payload:
{
"firstName": "test1234",
"lastName": "test1234",
"email": "test1234@sap.com",
"secret": "Admin123!?!",
"secretConfirm": "Admin123!?!",
"agreementUuids": []
}
Other fields have to be maintained in the CCO manager UI.
We do not recommend to use the API /api/ui/loyalty/loyaltyuser-management/users because it might be changed without further notice (it is an internal API).
Kind regards,
Gunther
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
27 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.