How to calculate shipping cost in custom REST API?
-
Hello,
I have used “WooCommerce Services” plugin in my current site and it’s wonderful plugin for automatically calculate shipping rate.
This shipping calculation is successfully working in my site but i want to calculate shipping method rate in my custom REST API but i don’t know how can i do this and also i am aware of which function should i call for calculate shipping rate automatically in my REST API.
My client want shipping method list with it’s cost.
Can you please help me how could i automatically calculate shipping rate in my REST API and also tell me which function should i use for this. ( In my rest API i taken parameters like product_id, size, qty ) tell me more parameters needed for this or not.
Thank You!
- The topic ‘How to calculate shipping cost in custom REST API?’ is closed to new replies.