So i am trying to create an Purchase Order Using the Rest API i am successfully able to create an PO using an API for that i have identified that there are three important keys which i need to send in my body to create an PO. Now this what i am sending where i am successfully able to create an PO in my Acumatica account .

Now here i am statically filling out these values but when i will integrate it with my platform i need an List of Vendors where i can choose and vendor and create an PO for that vendor now i used the API to get the Vendors list that i can show in my UI for the user to choose.
I am using this api to get the vendors list

But in here i am getting the Location of the Vendor but i need the Location Id which i can put in my location key to create an PO so how can i get the Location Id for creating an PO or How can i use the location name which i am getting by hitting the Vendors api to create an PO in using an API ?