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

Discussions

Ask a Question
Back to All

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

Me and my team are having troubles with Easyship API version 2.

  • I downloaded All API endpoints listed on documentation to run them from Postman.
  • I created my own JSON following the documentation to get rates.
  • I copied the JSON generated for Node JS version.

In all cases I have the same error.

I want to know, what is wrong here? I created another issue and some in your team said he can't reproduce the bug.

** Are you able to reproduce this bug using my JSON?

This is my JSON

{
"origin_address": {
"line_1": "25 St James Pl",
"state": "New York",
"postal_code": "10038",
"city": "New York"
},
"destination_address": {
"line_1": "192 Spadina Ave",
"state": "Toronto",
"postal_code": "52700",
"city": "Toronto",
"country_alpha2": "CA"
},
"incoterms": "DDU",
"insurance": {"is_insured": false},
"courier_selection": {"apply_shipping_rules": true},
"shipping_settings": {"units": {"weight": "kg", "dimensions": "cm"}},
"parcels": [
{
"total_actual_weight": "1",
"box": {"slug": "null", "length": "10", "width": "10", "height": "10"},
"items": [
{
"quantity": "1",
"dimensions": {"width": "10", "length": "10", "height": "10"},
"category": "health_beauty",
"description": "This is a nice product",
"sku": "PRD-123",
"actual_weight": "5",
"declared_currency": "USD",
"declared_customs_value": 1
}
]
}
]
}

Thanks,
Abraham