Discussions

Ask a Question
Back to All

Could not return rates

Hi,

I'm trying to get rates for provided data, but I'm always getting an error:

"Sorry, we couldn't find any shipping solutions based on the information provided."

Endpoint: https://api.easyship.com/v2/rates

Json request:

{
"origin_address": {
"line_1": "417 Montgomery st",
"line_2": "floor 5",
"state": "CA",
"city": "San Francisco",
"postal_code": "94104",
"country_alpha2": "US"
},
"destination_address": {
"line_1": "10231 Ridge Road",
"line_2": "",
"state": "OH",
"city": "North Royalton",
"postal_code": "44133",
"country_alpha2": "US"
},
"incoterms": "DDU",
"insurance": {
"is_insured": false,
"insured_amount": 10,
"insured_currency": "USD"
},
"courier_selection": {
"apply_shipping_rules": true
},
"shipping_settings": {
"units": {
"weight": "lb",
"dimensions": "in"
},
"output_currency": "HKD"
},
"parcels": [
{
"total_actual_weight": 0.8,
"box": {
"slug": null,
"length": 10,
"width": 8,
"height": 5
},
"items": [
{
"description": "Silk dress",
"category": "fashion",
"sku": "test01",
"quantity": 2,
"dimensions": {
"length": null,
"width": null,
"height": null
},
"actual_weight": 10,
"declared_currency": "USD",
"declared_customs_value": 20
}
]
}
]
}

Can you help me and tell me where I was wrong, or send me one valid json request?