Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2022
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Im trying to call the commerce scale unit REST APIs using postman.
i would like to know how to make the full URL of the CSU API call via postman
I am talking about the below built in APIs:docs.microsoft.com/.../retail-server-customer-consumer-api
I followed the steps here:docs.microsoft.com/.../consume-retail-server-api
But it does not mention how to make the full URL to call in postman, it only showed one example which doesnt work for the other APIs.https://<Retailserverurl>/Commerce/Customers('2001')/GetOrderHistory
How does one know the actual URL like in the above it is /Customers with the parameter in the Customers part and not the GetOrderHistory ?
Does someone have a postman collection or is there some way i can call the API and get all the info?
PS i already refered to the below blog:
Your RS URL is present in your LCS project, like:
But if you want to know the entire information about the API call, I would recommend you use the Network Tab (F12) from CPOS, like:
Same for the GetOrderHistory:
For Commerce Scale Unit you should be able to get the endpoint within the selected CSU's tab under "Links" --> "Commerce Engine URL"
I am actually trying to use CSU without CPOS setup fully. Is it mandatory ?
Hi Mando, i understand about the Commerce engine url it was how to complete the full URL for each of the APIs as some of them pass parameters differently like GetOrderHistory passes customer like below but some others APIs pass it in the end as parameter:
If you considering use Postman, the CPOS is a good way to check the API request and response.
Besides that, we have retail proxy library that you can write some simple typescript or C# code to use our retail proxy to fire API , then you need then debug or use fiddler to view the entire HTTP request.
Consume Retail Server APIs in external applications - Commerce | Dynamics 365 | Microsoft Docs
Business Applications communities