Financial Management Blogs by SAP
Get financial management insights from blog posts by SAP experts. Find and share tips on how to increase efficiency, reduce risk, and optimize working capital.
cancel
Showing results for 
Search instead for 
Did you mean: 
yogananda
Product and Topic Expert
Product and Topic Expert
1,401
Hello ,



The purpose of this article is to demonstrate and explain how CPQ API Authentication is made and CSRF token gets generated for making use of other endpoints.

This article provided examples applies only to /api/rd/v1/xxxxxxxxx



This authentication type is used for responsive design APIs. If you are calling an API from a SAP CPQ page using JavaScript, no additional steps are required as you are already authenticated. However, if you are calling the API from a third-party tool, you should first log in calling the method /api/rd/v1/Core/LogIn. This creates a session and gets the CSRF header token.

 



CPQ API Documentation



Step 1 :  How to get CPQ CSRF token ?







Pass the CSRF Token in Authorization request to refresh the session







API to find total number of Product Catalogs with multiple filters







API to find all the Catalog Information







API to find all the customer details exist in CPQ






Keep watching for Admin related API Authentication & endpoints in my next Article

 

Thanks, for reading it till the end. 🙏




Hope you find that helpful! Let me know your thoughts on this in the comments section.
Don't forget to share this article with your friends or colleagues.
Feel free to connect with me on any of the platforms below! 🚀

yoganandamuthaiah |Twitter | LinkedIn | GitHub

 


4 Comments