Production API Reference

DelMax Logistics API Integration

Automate parcel generation, dispatch tasks, real-time courier tracking, and thermal label generation from your e-commerce platform.

Full Standalone GuideManage API Keys

1Architecture & Tenant Resolution

DelMax implements strict PostgreSQL schema-per-tenant isolation. Every API request must specify your active organization via the X-Tenant-Code header.

⭐ Automatic DelMax Provider Routing

When an e-commerce tenant posts an order without an explicit deliveryTenantId, the system automatically routes the parcel to the platform default provider: DelMax (00000000-0000-0000-0000-000000000002).

2E-Commerce Business Signup & Key Provisioning

To guarantee dispatch capacity and service reliability, all new E-Commerce businesses register via an approved onboarding workflow:

1. Submit Registration

Provide your store details, platform type, and administrative contacts. Your account is initialized in Pending approval status.

2. Super Admin Approval

The Super Admin reviews your business profile in the Control Tower (/admin) and approves the activation.

3. Instant Key Provisioning

Upon approval, your production Client ID and Client Secret are unlocked for secure API integration.

Need API credentials for your online store?

Register your business directly to get queued for Super Admin activation.

3Authentication (Token Exchange & Direct Headers)

Obtain your Client ID and Client Secret from Client API Credentials. Exchange them for a signed JWT token via POST /api/v1/clients/authenticate.

POST /api/v1/clients/authenticate
curl -X POST "https://delmax.24apps.in/api/v1/clients/authenticate" \
  -H "Content-Type: application/json" \
  -H "X-Tenant-Code: delmax" \
  -d '{
    "clientId": "YOUR_CLIENT_ID",
    "clientSecret": "YOUR_CLIENT_SECRET"
  }'

3Ingesting Delivery Orders

Post delivery consignments using POST /api/v1/orders. Supports Cash on Delivery (COD), custom item line entries, and geocoded destination coordinates for algorithmic multi-stop dispatch.

POST /api/v1/orders
curl -X POST "https://delmax.24apps.in/api/v1/orders" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Tenant-Code: delmax" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "SHOPIFY",
    "externalOrderId": "ORD-88192",
    "customerName": "John Doe",
    "customerPhone": "+15552345678",
    "destinationAddress": "123 Market St, San Francisco, CA",
    "destinationLat": 37.7749,
    "destinationLng": -122.4194,
    "totalAmount": 150.00,
    "isCod": false,
    "items": [
      { "sku": "ITEM-1", "title": "Wireless Headphones", "quantity": 1, "unitPrice": 150.00 }
    ]
  }'

4Tracking & 4x6 Shipping Labels

Public Tracking Portal

Consignees can track packages via responsive web tracking:

https://delmax.24apps.in/track/{trackingNumber}

Thermal 4x6 Label PDF

Download binary PDF streaming for Zebra/Rollo thermal printers:

GET /api/v1/shipments/{id}/label

5Sandbox Test Credentials

RoleEmailPasswordTenant
Super Adminsuperadmin@bee-delivery.ioSuperAdminBee2026!#* (Global)
DelMax Adminadmin@delmax.24apps.inBeeDevPass2026!#delmax
ECOM Merchantorders@novaretail.comBeeDevPass2026!#nova_retail