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

id

"id": 16629518

A unique identifier for the shipping rate.

title

"title": "Giao hàng tận nơi"

The title for the shipping rate.

price

"price ": 10000.0000

The price for the shipping rate

Endpoints

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

View response

				

HTTP/1.1 200 OK

{ "shipping_rates": [ { "id": 1607492, "title": "Giao hàng tận nơi", "price": 20000.0000 } ] }