This endpoint allows the merchant to get shipping rates for a future shipment.
{- "merchant": "MY_BRAND",
- "entity_type": "FORWARD",
- "carrier_accounts": [
- {
- "carrier_id": "string",
- "carrier_account_name": "string"
}
], - "payment": {
- "payment_mode": "PRE_PAID",
- "pending_amount": 0,
- "total_amount": 0,
- "currency": "string"
}, - "customs": {
- "declared_value": {
- "amount": 0,
- "currency": "string"
}
}, - "collection": {
- "scheduled_date": "2022-01-01",
- "scheduled_from": "2022-01-01T10:00:000Z",
- "scheduled_to": "2022-01-01T12:00:000Z"
}, - "delivery": {
- "delivery_type": "string",
- "scheduled_date": "2022-01-01",
- "scheduled_from": "2022-01-01T10:00:000Z",
- "scheduled_to": "2022-01-01T12:00:000Z"
}, - "pickup": {
- "partner_location_id": "string",
- "partner_location_code": "string"
}, - "dropoff": {
- "area": "DOWNTOWN-DUBAI",
- "city": "DUBAI",
- "state": "DUBAI",
- "postcode": "E1 6AN",
- "country": "AE",
- "coords": [
- 41.40338
]
}, - "items": [
- {
- "sku": "string",
- "quantity": 1,
- "price": {
- "amount": 0,
- "currency": "string"
}, - "cost": {
- "amount": 0,
- "currency": "string"
}, - "weight": {
- "value": 0,
- "unit": "kg"
}, - "origin_country": "string",
- "hs_code": "string",
- "dangerous_goods": true
}
], - "parcels": [
- {
- "weight": {
- "value": 0,
- "unit": "kg"
}, - "dimension": {
- "width": 0,
- "height": 0,
- "depth": 0,
- "unit": "cm"
}, - "parcel_items": [
- {
- "sku": "string",
- "quantity": 0
}
]
}
], - "freight": {
- "packages": [
- {
- "type": "pallet",
- "weight": {
- "value": 0,
- "unit": "kg"
}, - "dimension": {
- "width": 0,
- "height": 0,
- "depth": 0,
- "unit": "cm"
}
}
]
}, - "custom_attributes": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
{- "shipping_rates": [
- {
- "estimated_shipping_cost": {
- "amount": 10,
- "currency": "USD",
- "breakdown": [
- {
- "amount": 10,
- "currency": "USD",
- "description": "Total VAT Charge"
}
]
}, - "carrier": "UPS",
- "carrier_account_id": "ca584701-f531-482f-ab40-923dca644127",
- "carrier_account_name": "UPS - Dubai",
- "service_name": "string",
- "service_description": "string",
- "delivery_promise": "string",
- "estimated_days": 0,
- "error_details": [
- {
- "level": "string",
- "code": "string",
- "field": "string",
- "message": "string",
- "source": "string",
- "trigger": "string",
- "type": "string"
}
]
}
]
}