This is used to view shipping zones, their countries, provinces, and shipping rates.
Authenticated access scopes: com.read_orders, com.write_orders
What you can do with Shipping Rate
The Haravan API lets you do the following with the Shipping Rate resource.
Shipping rate properties
Endpoints
GET https://apis.haravan.com/com/shipping_rates.json?country_id={country_id}&province_id={province_id}
Get a list of all shipping rates by parameters
country_id | Country of shipping rates. Get country_id at country API |
province_id | Province of shipping rates. Get province_id at province API |
district_id | District of shipping rates. Get district_id at district API |
total_price | The total price of the order |
total_weight | The total weight of the package |
Retrieves a list of shipping rates by district.
GET https://apis.haravan.com/com/shipping_rates.json?country_id=241&province_id=50&district_id=478
HTTP/1.1 200 OK
{ "shipping_rates": [ { "id": 1607492, "title": "Giao hàng tận nơi", "price": 20000.0000 } ] }