Build Lightspeed integrations in TypeScript with Apideck's official SDK. Type-safe, well-documented, and production-ready.
Get started with Lightspeed in TypeScript in under a minute
npm install @apideck/nodeimport { Apideck } from '@apideck/node'
const apideck = new Apideck({
apiKey: process.env.APIDECK_API_KEY!,
appId: process.env.APIDECK_APP_ID!,
consumerId: 'user-123'
})
// Connect to Lightspeed
const { data: connections } = await apideck.ecommerce.connectionsAll({
serviceId: 'lightspeed'
})
// List data from Lightspeed
const response = await apideck.ecommerce.companiesAll({
serviceId: 'lightspeed'
})
console.log(response.data)Full type definitions for TypeScript. Catch errors at compile time, not runtime.
SDK is auto-generated from our OpenAPI spec, always up-to-date with the latest API.
Built-in error types and retry logic. Handle rate limits and errors gracefully.
Automatic pagination handling. Iterate through large datasets effortlessly.
OAuth, API keys, and consumer tokens handled automatically.
Comprehensive docs with examples for every endpoint and method.
All these Lightspeed endpoints are accessible via the TypeScript SDK
We build and maintain connectors, so you don't have to. View our full list of Ecommerce connectors.
Missing a connector? We're able to add new connectors.