How to obtain cookies for a user's session to open a web view with the user's context?

Hi, I’m working to understand how I can open a web view in a native mobile app with a user’s context (logged in state, cart items etc).

Once I make calls to API to, say, add an item to a user’s cart, is there an API call that I can make to obtain cookies for this user to associate to a web view and navigate to the cart page so the web view opens with the user’s items in the cart?