curl --request POST \
--url https://api.getredo.com/v2.2/stores/{storeId}/shipments/rates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destination": {
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
}
},
"origin": {
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
}
},
"parcel": {
"height": {
"unit": "in",
"value": 1
},
"length": {
"unit": "in",
"value": 1
},
"type": "box",
"weight": {
"unit": "g",
"value": 1
},
"width": {
"unit": "in",
"value": 1
}
}
}
'{
"rates": [
{
"carrier": {
"id": "<string>",
"name": "<string>"
},
"price": {
"amount": "<string>",
"currency": "<string>"
},
"service": {
"name": "<string>"
}
}
]
}Get available shipping rates based on origin, destination, and parcel information.
curl --request POST \
--url https://api.getredo.com/v2.2/stores/{storeId}/shipments/rates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destination": {
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
}
},
"origin": {
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
}
},
"parcel": {
"height": {
"unit": "in",
"value": 1
},
"length": {
"unit": "in",
"value": 1
},
"type": "box",
"weight": {
"unit": "g",
"value": 1
},
"width": {
"unit": "in",
"value": 1
}
}
}
'{
"rates": [
{
"carrier": {
"id": "<string>",
"name": "<string>"
},
"price": {
"amount": "<string>",
"currency": "<string>"
},
"service": {
"name": "<string>"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Store ID
"64e5a8a1af49a89df37e4ee7"
Show child attributes
Address.
Show child attributes
City name
Country code
Line 1
Postal or ZIP code
State or province
Line 2
Show child attributes
Address.
Show child attributes
Parcel information for shipping.
Show child attributes
Parcel type enum.
box, envelope, soft_pack Success
Available shipping rates
Show child attributes
Was this page helpful?