You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to display login user id in order API payload

Received Response
62
Views
6
Comments
edited Sep 6, 2023 12:40PM in Commerce 6 comments

Summary:

We have a requirement to display login user id in order API payload (agent page). We are getting login user id in the URL 'https://a9183356c1dev-admin.occa.ocs.oraclecloud.com/occs-agent/agentCustomerDetails?customerId=7044408&profileId=iuser5937564'.

Content (required):

main objective is pass login userid from admin page(knockout.js) to agent application.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

I want specific code assistance based on the picture of the code snippet provided and how to achieve my goal.

1. I need to retrieve the agent user ID, just like the token and site production URLs (line no. 379 & 380).

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!