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

Discussions

Ask a Question
Back to All

Different results across API and Portal

Hello,
We are using V2, when sending rates request via API we are getting results from USPS only.
For the same request (source/destination/package) via portal I see UPS and and USPS options.

Here is our API request

{
"origin_address": {
"line_1": "200 Continental Dr Ste",
"state": "New Jersey",
"city": "Newark",
"postal_code": "19713",
"country_alpha2": "US",
"contact_name": "sharon doron",
"company_name": "sharon doron",
"contact_phone": "+01 0505747479",
"contact_email": "[email protected]"
},
"destination_address": {
"line_1": "43 HATHERLY RD",
"state": "Massachusetts",
"city": "BOSTON",
"postal_code": "02135-4616",
"country_alpha2": "US",
"contact_name": "sharon doron",
"company_name": "sharon doron",
"contact_phone": "0505747479",
"contact_email": "[email protected]"
},
"insurance": {
"is_insured": true
},
"shipping_settings": {
"units": {
"weight": "kg",
"dimensions": "cm"
}
},
"parcels": [
{
"total_actual_weight": 2,
"box": {
"slug": null,
"length": "2",
"width": "2",
"height": "2"
},
"items": [
{
"description": "Project titel",
"category": "home_decor",
"sku": "Projecttitel_74761344",
"quantity": 1,
"dimensions": {
"length": "2",
"width": "2",
"height": "2"
},
"actual_weight": 2,
"declared_currency": "USD",
"declared_customs_value": "5.3100"
}
]
}
]
}