Skip to main content

Delhivery SDK

A fully-typed TypeScript SDK for the Delhivery B2C API.

What's included

ResourceMethods
serviceabilitycheck, expectedTAT
orderscreate, update, cancel, updateEWaybill
trackingtrack, trackOne, trackMany
shippingcalculateCost, fetchWaybills, generateLabel, schedulePickup
warehousescreate, update
ndrupdate, rvpQC
documentsdownload

Quick example

import { DelhiveryClient } from "delhivery-sdk";

const client = new DelhiveryClient({ token: "YOUR_API_TOKEN" });

// Check if 400001 → 560001 is serviceable
const results = await client.serviceability.check({
origin_pin: "400001",
destination_pin: "560001",
payment_mode: "Prepaid",
weight: 0.5,
});

console.log(results);

Next steps