Rate Calculator
This API helps determine the cost of shipping based on various parameters such as journey type, destination, weight, and payment method.
Rate Calculator
POST
https://{domain}/shipping/api/v1/calculate/rate
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
journeyType
yes
string
Specifies the type of journey, can be either 'forward' or 'reverse'.
pickupPincode
yes
number
The postal code of the pickup location.
dropPincode
yes
string
The postal code of the drop-off location.
orderWeight
yes
number
The weight of the order in the specified unit (in grams).
length
yes
number
The length of the package in the specified unit (in cm).
width
yes
number
The width of the package in the specified unit (in cm).
height
yes
number
The height of the package in the specified unit (in cm).
paymentMethod
yes
string
The payment method, can be either 'Cash on delivery' or 'Prepaid'.
codAmountToBeCollected
yes
number
The amount to be collected in case of Cash on Delivery (COD) orders.
doorstepQc
No
boolean
Indicates whether a doorstep quality check is required. Set to 'true' for returns if required.
Response
Last updated