Rate
Request a shipping rate including landed cost
post/rate
Request
- Base URL: https://api-stg.passportshipping.com/v3
- URL: https://api-stg.passportshipping.com/v3/rate
- Auth: none declared
Request body
Example request
{
"reference": "shipmentref",
"address_to": {
"reference": "To address 1",
"street1": "111 Broadway Ave.",
"street2": "Floor 7",
"city": "London",
"zip": "B33 8TH",
"country": "GB",
"name": "John Smith",
"company": "Company Inc",
"phone": "518-111-1111",
"email": "js-myth@example.com",
"pudo_id": "PUDO-123456"
},
"address_from": {
"reference": "From address 1",
"street1": "111 sunset blvd.",
"city": "Los angeles",
"state": "CA",
"zip": "90111",
"country": "US",
"name": "Allison Fox",
"company": "Lululemon",
"phone": "518-111-1111",
"email": "js-myth@example.com"
},
"parcel": {
"reference": "Parcel ID",
"length": 10.5,
"units_length": "in",
"width": 5.2,
"height": 1.1,
"weight": 100.15,
"units_weight": "oz"
},
"items": [
{
"description": "Black T-shirt",
"hs_code": "3304300000",
"sku": "GEN12345",
"non_standard_manufacturer_product_id": "MFR-SKU-12345",
"standard_manufacturer_product_id": "0012345678905",
"quantity": 2,
"value": 12.34,
"weight": 0.5,
"units_weight": "oz",
"origin": "US",
"currency": "USD"
}
],
"duty_paid": true,
"contents_type": "merchandise"
}Response
(OK) List of available rates for given shipment params
Example response
{
"rate": 10.78,
"duty": 0,
"tax": 2.47,
"insurance": 1.5,
"currency": "USD",
"serviceName": "PriorityDdpDelcon"
}Changes
No recorded changes to this operation across all 1 revision of this API.