AdvancedIntegrations

Integrations and Extensions

Connect Datacom with third-party services to enhance your online store and automate workflows.

POST /datacom HTTP/1.1
Host: your-webhook-url.com
Content-Type: application/json
Datacom-Signature: v1=abc123...

{
  "event": "order.created",
  "data": {
    "id": "order_123",
    "total": 1990
  }
}

Overview

Datacom integrates seamlessly with popular third-party services to extend your online store's capabilities. You can connect payment gateways for secure transactions, shipping providers for logistics, webhooks for real-time notifications, APIs for custom applications, and explore a marketplace of apps.

All integrations use secure HTTPS endpoints and require your Datacom API key. Obtain it from your dashboard at https://manage.datacom.mn.

Payment Gateways

Connect popular payment processors to handle transactions in your Datacom store.

Create a Stripe account and use their dashboard to get your publishable and secret keys.

const stripe = require('stripe')('sk_test_your_stripe_secret_key');

const paymentIntent = await stripe.paymentIntents.create({
  amount: 2000, // $20.00
  currency: 'usd',
  metadata: { datacom_order_id: 'order_123' }
});

In your Datacom dashboard, enter the keys under Settings > Payments > Stripe.

Shipping Providers

Integrate shipping carriers to calculate rates and generate labels automatically.

Select Provider

Choose from supported providers like DHL or FedEx in your Datacom dashboard.

Enter Credentials

Provide API keys and account details.

# Example DHL API key setup
DHL_API_KEY=your_dhl_key
DHL_ACCOUNT_NUMBER=123456789

Test Integration

Create a test shipment to verify rates and labels.

Webhook Setup

Webhooks notify your app of events like new orders or payment confirmations.

Configuration Steps

Create Endpoint

Set up a public HTTPS endpoint on your server to receive payloads.

Add Webhook in Dashboard

Go to Settings > Webhooks in Datacom and enter your URL: https://your-webhook-url.com/datacom.

Verify Signature

Use the shared secret to validate incoming requests.

API Connections

Build custom integrations using Datacom's REST API at https://api.example.com/v1.

path
ordersGET
Required

Retrieve order details.

header
Authorizationstring
Required

Bearer {YOUR_API_KEY}.

curl -X GET https://api.example.com/v1/orders \
  -H "Authorization: Bearer YOUR_API_KEY"

Third-party App Marketplace

Discover and install apps from our marketplace.

  • Analytics: Connect Google Analytics for traffic insights.
  • Email Marketing: Integrate Mailchimp for newsletters.
  • CRM: Sync with HubSpot for customer data.

Install via Apps > Marketplace in your dashboard.

Check the marketplace regularly for new integrations. Most apps install in under 2 minutes.