These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Why call rates api just only get one courer?

Hello Easyship developer.
I am trying to use your api (https://api.easyship.com/v2/rates) to get rates.

My request data: { "origin_address": { "line_1": "hk", "city": "hk" }, "destination_address": { "line_1": "London, United%20Kingdom", "city": "London", "postal_code": "E1%206AN", "country_alpha2": "GB" }, "incoterms": "DDP", "insurance": { "is_insured": false }, "courier_selection": { "apply_shipping_rules": true }, "shipping_settings": { "units": { "weight": "kg", "dimensions": "cm" } }, "parcels": [ { "total_actual_weight": 10, "box": { "length": 10, "width": 10, "height": 10 }, "items": [ { "quantity": 1, "dimensions": {}, "category": "Accessory (no-battery)", "description": "description here", "actual_weight": 10, "declared_currency": "HKD", "declared_customs_value": 50 } ] } ] }

But i just got only courier on response data: {
"status": "success",
"rates": [
{
"courier_id": "43d6f8aa-6b9b-49dc-b053-47dd9817f317",
"courier_name": "Aramex - Parcel",
"min_delivery_time": 6,
"max_delivery_time": 9,
"value_for_money_rank": 1,
"delivery_time_rank": 1,
"currency": "HKD",
"shipment_charge": 858.2,
"fuel_surcharge": 180.22,
"remote_area_surcharge": 0,
"remote_area_surcharges": {},
"other_surcharges": {},
"oversized_surcharge": 0,
"additional_services_surcharge": 0,
"residential_full_fee": 0,
"residential_discounted_fee": 0,
"shipment_charge_total": 1038.42,
"warehouse_handling_fee": 0,
"insurance_fee": 0,
"sales_tax": 0,
"provincial_sales_tax": 0,
"ddp_handling_fee": 125.88,
"import_tax_charge": 217.68,
"import_tax_non_chargeable": 0,
"import_duty_charge": 0,
"total_charge": 1381.98,
"is_above_threshold": true,
"incoterms": "DDP",
"estimated_import_tax": 0,
"estimated_import_duty": 0,
"minimum_pickup_fee": 0,
"available_handover_options": "free_pickup",
"tracking_rating": 3,
"easyship_rating": 3.6,
"courier_remarks": "50 HKD charge for remote area pickup",
"payment_recipient": "Easyship",
"discount": {
"amount": 0,
"code": null,
"percentage": null,
"expires_at": null,
"origin_amount": 0
},
"description": " 343.56 of taxes & duties are INCLUDED in the cost",
"full_description": "Aramex - Parcel (6-9 working days) 343.56 of taxes & duties are INCLUDED in the cost"
}
]
}

How can I get multi courier while calling rates api?
Please guide me. Thank you so much.