php - How to get all tax rates from Magento2 through rest api? -


i want fetch tax rates magento2, tried http://magento2url/rest/default/v1/taxrates/2", here gives tax rate information of perticular id want all.

i tried following url: http://magento2url/index.php/rest/v1/taxrates?searchcriteria[currentpage]

here response :

stdclass object ( [message] => request not match route. )

the same url, if give products http://magento2url/index.php/rest/v1/products?searchcriteria[currentpage] working fine.

please suggest if 1 know answer or give suggestion how can proceed here ?

give url follows tax rates

http://magentourl/index.php/rest/v1/taxrates/search?searchcriteria[currentpage]

this same customers also.just rename taxrates customers customers of current page.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -