Discussions
SuiteScript 2.0 version of getShoppingSession()
I'm attempting to update the code on the back end of our custom web portal from SuiteScript 1.0 to SuiteScript 2.0. The problem is the first thing that I need to translate I can't seem to find a 2.0 equivalent for. The initial login procedure uses the nlapiGetWebContainer().getShoppingSession() to build a web session object which is then used to call the login method.
Now this is logging customers into our custom portal so I'm not sure the runtime.session is the same thing and that module does not provide any login method. I've looked through the documentation quite a bit and I can't find any SuiteScript 2.0 way of doing this. Can anyone point me in the right direction?