Invoice API facilitates calculation of the shipping charges for the shipments. This is to be noted that it roughly calculates the charges and give approximated values only.
The parameters which can be used for calculating the invoice details in the table below the table enlists all the keys, mandatory keys mentioned as M and Optional with O have also been highlighted
Params | Mandatory | Value Type | Constraints | Description |
---|---|---|---|---|
md | M | String | E/S | Billing Mode of shipment |
cgm | M | Integer | Defaults to 0 | Chargeable weight of the shipment (Only in Grams Unit) |
o_pin | M | Integer | 6 Digit Valid Pin code | Pin code of origin city |
d_pin | M | Integer | 6 Digit Valid Pin code | Pin code of destination city |
ss | M | String | Delivered,RTO,DTO | Status of shipment |
*** The invoice shipping api has limit of 40 requests per minute. Once the number of requests crosses the limit, your IP will be throttled for next 1 minute.
Note:
Total_amount value (in response) should be considered as an approximately value which will be charged by delhivery. It is equal to gross_amount addition to the tax values, actually amount charged by delhivery can be different from what is calculated by this API.
Use the production URL having "track.delhivery.com" as the fully qualified domain name (FQDN) to get the updated Shipping rates.