Discussions

Ask a Question
Back to All

API Rates Quotes - Fail to return shipping, but on dashboard it works

I have no success to get Quote rate using API from USA to BRAZIL,
but in the https://app.easyship.com/quote it works, how can I know what I am doing wrong?

I am following the: https://developers.easyship.com/reference#rates-intro

from:
'state' => 'CA',
'city' => 'San Francisco',
'postal_code' => '94117',

to:
'line_1' => 'Rua Sebastiao Martins, 80',
'state' => 'SP',
'city' => 'Restinga',
'postal_code' => '14430-000',
'country_alpha2' => 'BR'

Just from zips USA: 94117 to BRAZIL: 14430-000

The API return:

{"status":"failure","errors":["Sorry, we couldn't find any shipping solutions based on the information provided."],"request_id":"51077315-a5b2-4b73-81e8-f4349d720a20"}

at dashboard it was OK: https://prnt.sc/13ykugl

I am working adding shipping hubs to our platform https://cartx.io