Discussions
Accessing Cart via API
over 4 years ago by Dustin M Branch
Hello,
We have a client on 20.3 of iMIS. I am trying to call the API for a logged in user's cart using the following endpoint:
https://alm.imiscloud.com/api/cart?UserId=18493&UpdatedBy=18493
In Postman, using this endpoint I am able to get cart data I am expecting back. Moving this endpoint into a script on an iMIS page gives me a 401 HTTP status code as a response which typically means Unauthorized. What can I do to GET the user's cart from the API on an iMIS page?
We really need this functionality.