Respatch
Respatch
RespatchRespatch
For Developers

Integrate delivery in one afternoon.

Test keys on sandbox-api.respatch.com · live keys on api.respatch.com. Official SDKs and Woo/WP/Shopify bridges are on GitHub under cyber-genii.

node — quote + book
import { Respatch } from '@respatch/sdk'

const client = new Respatch({
  apiKey: process.env.RESPATCH_API_KEY, // rsp_sec_test_…
  environment: 'sandbox',
})

const quote = await client.orders.quote({
  pickup: { lat: 6.45, lng: 3.39 },
  dropoff: { address: 'Ikeja, Lagos' },
  delivery_type: 'standard',
  packages: [{ weight_kg: 2, dimensions_cm: { length: 30, width: 20, height: 10 } }],
})

const order = await client.orders.create({
  quote_id: quote.quote_id,
  pickup: { contact_name: 'Warehouse', contact_phone: '+234801' },
  dropoff: { contact_name: 'Customer', contact_phone: '+234802' },
  packages: [{ description: 'Parcel' }],
})

What you need

Four building blocks — same across every platform.