All systems operating normally
View status page
Developer Portal

Engineering Journal & API updates.

Technical analysis, release notes, and documentation updates directly from Dcorp's engineering team.

OrderInjection.tsDcorpClient.ts
// Example: Injecting a 3rd-party delivery order directly into POS Core
// API Version: v3.2.0
import { DcorpClient } from '@dcorp/enterprise-sdk';

const client = new DcorpClient({
  apiKey: process.env.DCORP_SECRET_KEY,
  environment: 'production'
});

async function injectOrder(payload: DeliveryOrder) {
  try {
    const response = await client.orders.create({
      storeId: "VN-HCM-045",
      source: "GRAB_FOOD",
      items: payload.items,
      bypassLocalQueue: false // Ensure offline-sync safety
    });

    console.log(`Order routed to KDS. Ticket ID: ${response.ticketId}`);
  } catch (error) {
    await ErrorHandler.log(error);
  }
}

Access the developer sandbox.

Request access to full documentation, OpenAPI specs, and an isolated sandbox to evaluate Integration Hub before implementation.