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.
Payment Gateways
Accept payments from Stripe, PayPal, and more.
Shipping Providers
Integrate with logistics partners for delivery.
Webhook Notifications
Receive instant updates on orders and events.
API Connections
Build custom apps with our REST API.
App Marketplace
Discover pre-built extensions.
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' }
});
import stripe
stripe.api_key = 'sk_test_your_stripe_secret_key'
payment_intent = stripe.PaymentIntent.create(
amount=2000, # $20.00
currency='usd',
metadata={'datacom_order_id': 'order_123'}
)
In your Datacom dashboard, enter the keys under Settings > Payments > Stripe.
Enable PayPal Express Checkout.
Configure the client ID and secret in Datacom settings.
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.
Retrieve order details.
Bearer {YOUR_API_KEY}.
curl -X GET https://api.example.com/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://api.example.com/v1/orders', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const orders = await response.json();
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.
Last updated 1 day ago
Built with Documentation.AI