Skip to main content

ShippingRate

Version: 1.0

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.

Properties


id : number

"id": 16629518

A unique identifier for the shipping rate.


title : string

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

The title for the shipping rate.


price : number

"price ": 10000.0000

The price for the shipping rate.


Retrieves a list of shipping rates by parameters

GET
https://apis.haravan.com/com/shipping_rates.json?country_id=241&province_id=50&district_id=478

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
Details
HTTP/1.1 200 OK

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