This example describes how to migrate from estimateTax in RESTv1 to CreateTransaction in RESTv2.
Notice in the RESTv1 example that the request uses GET. In this request, provide the latitude, longitude, and sale amount to estimate the taxes. The RESTv2 example uses POST. In this request, create a transaction using a document type
of SalesOrder
.