Orbis ERP
Integrate Orbis ERP for purchase orders, inventory, financial ledger, and vendor management with built-in retry.
Overview
The Orbis ERP connector provides type-safe access to purchase orders, sales orders, inventory, vendor master, general ledger, and cost center records. Orbis uses offset-based pagination with a maximum page size of 200 records. The SDK normalizes this to the same .autopage() interface regardless of the underlying pagination model. Auth supports both OAuth2 (for user-delegated access) and API key (for server-to-server batch jobs). Rate limit is 30 req/sec — lower than CRM connectors, appropriate for ERP data volumes.
Supported Objects
- Purchase Orders
- Sales Orders
- Inventory Items
- Vendors
- Customers
- General Ledger
- Cost Centers
Authentication
This connector uses OAuth2 / API Key. Configure it once at client creation:
import { dlx } from 'devloom';
const client = dlx.client({
connector: 'orbis-erp',
auth: dlx.auth.oauth2({
clientId: process.env.ORBIS_ERP_CLIENT_ID,
clientSecret: process.env.ORBIS_ERP_SECRET,
scopes: ['api'],
autoRefresh: true
})
});
Querying Records
// Fetch all active records with auto-pagination
const records = await client
.query('purchase_orders')
.filter({ status: 'active' })
.autopage()
.all();
console.log(`Fetched ${records.length} records`);
Webhook Events
const sub = client
.stream('purchase_orders.updated')
.on('event', (e) => {
console.log('Changed:', e.record.id);
});
// Cleanup
sub.close();
Pagination
This connector uses Offset-based pagination. The SDK handles it transparently — use .autopage() to fetch all pages or .limit(n) + .page(n) for manual control.
orbis-erp