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

Discussions

Ask a Question
Back to All

Sandbox API returns no quotes

Using Sandbox API leads to no quotes returned

Request:
{"courier_selection":{"apply_shipping_rules":true},"origin_address":{"country_alpha2":"AU","city":"SYDNEY","postal_code":"2000","state":"NSW"},"destination_address":{"country_alpha2":"AU","postal_code":"3000","state":"VIC","city":"MELBOURNE"},"incoterms":"DDU","insurance":{"is_insured":true},"parcels":[{"box":{"height":11.0,"length":11.0,"width":11.0},"items":[{"declared_currency":"AUD","declared_customs_value":1.0,"description":"Box","hs_code":"49011010","origin_country_alpha2":"AU","quantity":1}],"total_actual_weight":1.0}],"shipping_settings":{"units":{"dimensions":"cm","weight":"kg"}}}

Response:
{"rates":[],"meta":{"pagination":{"page":1,"next":null,"count":0},"request_id":"411c1109064639fc7b9adecc1aa3cf60"}}

I can share API Key in some private way also. Same for production returns some quotes.