Help Center

Libraries & SDKs

Choose your favorite programming language and quickly integrate with atoship API. We provide official SDKs and complete example projects to help you build logistics management applications.

JavaScript/TypeScript
JavaScript/TypeScript
Universal SDK supporting Node.js, browser and serverless environments
v1.0.0
@atoship/sdk
GitHub
Installation
Not published yet. This package is not on the registry yet, so the install command above will not resolve. The source is on GitHub and you can vendor it from there. The Go SDK is the one you can install today.
npm install @atoship/sdk
Quick Start Code
import { atoshipSDK } from '@atoship/sdk'

// Initialize SDK
const atoship = new atoshipSDK({
  apiKey: 'your-api-key'
})

// Create order
const order = await atoship.createOrder({
  orderNumber: 'ORDER-001',
  recipientName: 'John Doe',
  recipientStreet1: '123 Main St',
  recipientCity: 'San Francisco',
  recipientState: 'CA',
  recipientPostalCode: '94105',
  recipientCountry: 'US',
  items: [{
    name: 'Product',
    sku: 'SKU-001',
    quantity: 1,
    unitPrice: 29.99,
    weight: 2.0,
    weightUnit: 'lb'
  }]
})

console.log('Order created:', order.data.id)
SDK Features
  • Complete TypeScript type support
  • CommonJS and ES Modules support
  • Automatic retry and error handling
  • Works in Node.js and browsers
  • Promise and async/await support