Skip to content

Introduction

The @agamya/bigship-sdk is a TypeScript SDK for the Bigship.in External Outbound API. It provides type-safe access to shipping, orders, rates, tracking, and more.

  • Type-Safe — Zod schemas for runtime validation, full TypeScript inference
  • Auto-Authentication — Login once, token cached automatically
  • Retry with Backoff — Exponential backoff with full jitter, configurable
  • Event HooksonBeforeRequest, onResponse, onError, onRetry
  • Pluggable Logger — Bring your own Winston, pino, or console logger
  • Full API Coverage — All 16 Bigship API endpoints
  • Convenience MethodsmanifestAndGetAWB, getShipmentDetails, createAndFinalizeShipment
  • Workflow Builder — Fluent create → withCourier → manifest → finalize API
  • Node.js >= 18
  • Bigship.in API credentials (user name, password, access key)

Disclaimer: Community project based on publicly available Bigship API documentation. Not officially affiliated with Bigship.in.