cancel
Showing results for 
Search instead for 
Did you mean: 

ASM using OCC webservices in SAP Hybris.

krishna-nalla
Discoverer

Hi ,

I am trying to implement ASM using headless commerce, using OCC webservices , i have following the below document 2211 version.
https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/e1391e5265574bfbb56ca4c0573ba1dc/423dc4ee0....

i dont find emulate session endpoint , but i found that when asagent is logging in using Oauth token then asm session will start and this is done, but i dont find end session or logout the session of asm in that above mentioned document ,

please help on the same..

0 Kudos

Hello Krishna,

By "i dont find emulate session endpoint" do you mean this button doesn't appear or you couldn't find this Help Portal documentation - Session Context Widget?

And by "i dont find end session or logout the session of asm" do you mean that button also doesn't appear or is it also that you couldn't find this Help Portal documentation - Emulating Customer Accounts?

Maybe you can post more information

krishna-nalla
Discoverer
0 Kudos

joao.pedro.aguinsky thanks for your reply.

I am completely implementing on only backend apis for start and end session, i followed below document i found all the end points like get customer list, bind cart, etc.. but it doesnt appear end session api , so please let me know steps to end the session or let me know if we have that api exists or not , if not i wil try to use some facade to remove the session, but i want to know end session api is exists or not as because i didnt find in that document.

I need back end webservice end point ,if you find please let me know or let me know the steps to end session /start sessions.

0 Kudos

Hello, krishna-nalla. Sorry for the long time it took to answer. I was checking the information internally.

There is no end session API. SPA calls oAuth’s revoke to invalidate token as end session. If you want to end session for agent, you have to call revoke agent’s token. If you want to end session for customer, it can only be done in front end. Currently there is no start/end customer session in API. Backend doesn’t know when emulate start/end in current implementation.

Accepted Solutions (0)

Answers (0)