cancel
Showing results for 
Search instead for 
Did you mean: 

CCO Manager API GET /loyalty/allpoints error code 902

yasir_faisal
Explorer
0 Kudos

Hello ,

I have been connecting CCO manager API but failed to retrieve data of loyalty points.

I have authenticated the API by providing the X-Csrf-Token Token by connecting the admin API but I am getting unauthorised error code 902.

Even i have provided all permission to user and technical user is marked as yes.

AaronMendieta
Participant
0 Kudos

Hi yasir.faisal,

It's been a while since my team and I worked on this, however, I remember that if you want to retrieve anything related to the loyalty function you have to authenticate to CCOM API with the ***Customer user*** to whom the loyalty accounts, coupons, points, etc. are bound to.

So...

1.- Authenticate with the service ccos/api/auth

2.- Retrieve loyalty points with the service ccos/api/loyalty/allpoints

I did some tests in my Swager UI and the service response with the data and a 200 as HTTP code.



If my comment answers your question you could click 'Accept' and make it easier for others to find a solution to this issue, regards Yasir!

Accepted Solutions (0)

Answers (0)