Daraz Store Management
Connect your Daraz seller account to Odoo through the Daraz Open Platform API. Built on Lazada's API infrastructure, this module uses HMAC-SHA256 signed requests with country-specific endpoints to synchronize products, orders, and inventory across all Daraz markets (Pakistan, Bangladesh, Sri Lanka, Myanmar, and Nepal).
Compatibility: Odoo 17 / 18 / 19 Price: $249 (one-time) License: Up to 3 domain activations
Key Features
- Daraz Open Platform API integration (based on Lazada API)
- HMAC-SHA256 request signing
- Multi-country support: Pakistan, Bangladesh, Sri Lanka, Myanmar, Nepal
- Country-specific API endpoints
- Bidirectional product synchronization
- Automatic order import and fulfillment tracking
- Real-time inventory synchronization
- Category mapping with Daraz taxonomy
- Daraz Mall and DarazGlobal support
- Voucher and promotion sync
- Returns management
- Seller rating monitoring
Prerequisites
- Odoo 17, 18, or 19 (Community or Enterprise edition)
- An active ECOSIRE license for this module
- A Daraz seller account (daraz.pk, daraz.com.bd, daraz.lk, etc.)
- Daraz Open Platform App Key and App Secret
Installation
- Download the module ZIP from your ECOSIRE Dashboard
- Extract to your Odoo addons directory:
unzip ecosire-daraz-*.zip -d /opt/odoo/addons/ - Restart the Odoo service:
sudo systemctl restart odoo - Navigate to Apps, click Update Apps List
- Search for the module and click Install
- Enter your ECOSIRE license key when prompted
Configuration
Step 1: Obtain Daraz API Credentials
- Go to the Daraz Open Platform for your country
- Register as a developer and create an application
- Note your App Key and App Secret
- Complete the OAuth flow to obtain your Access Token and Refresh Token
Step 2: Connect in Odoo
- Navigate to Daraz Store Management > Configuration
- Create a new configuration and enter:
- App Key (
app_key) -- Daraz application key - App Secret (
app_secret) -- Daraz application secret - Access Token (
access_token) -- OAuth access token - Refresh Token (
refresh_token) -- for automatic renewal - Country (
country) -- select PK, BD, LK, MM, or NP
- App Key (
- Click Test Connection to verify API access
- Configure your default warehouse and company mapping
Step 3: Configure Sync Settings
Product Sync
- Choose sync direction: Daraz-to-Odoo, Odoo-to-Daraz, or bidirectional
- Set sync interval: scheduled (every 5, 15, or 60 minutes)
- Configure product field mapping and category mapping
Inventory Sync
- Map Odoo warehouses to Daraz fulfillment locations
- Set buffer stock quantities if needed
- Enable real-time stock updates on changes
Order Sync
- Enable automatic order import
- Map Daraz payment methods to Odoo payment journals
- Configure fulfillment sync to push tracking numbers
Initial Sync
- Go to Daraz Store Management > Operations > Initial Import
- Select data types to import (Products, Customers, Orders)
- Set date range for historical orders
- Click Start Import and monitor progress in the sync log
API Details
| Field | Value |
|---|---|
| Auth method | HMAC-SHA256 signed requests + OAuth tokens |
| PK endpoint | https://api.daraz.pk/rest |
| BD endpoint | https://api.daraz.com.bd/rest |
| LK endpoint | https://api.daraz.lk/rest |
| MM endpoint | https://api.shop.com.mm/rest |
| NP endpoint | https://api.daraz.com.np/rest |
| Signature | HMAC-SHA256 over sorted params with api_path prefix |
| Key config fields | app_key, app_secret, access_token, refresh_token, country |
Dashboard
The built-in OWL 2 dashboard provides real-time visibility into your integration:
- 6 KPI cards -- Revenue, Orders, Customers, Products, Avg Order Value, and Sync Health -- each with period-over-period delta indicators
- Sales Trend chart (Chart.js line chart) with interactive date filtering
- Order Status breakdown (doughnut chart) showing distribution across statuses
- Period filters -- Today, 7 days, 30 days, 90 days, Year, or Custom date range
- Activity feed showing recent sync log entries with type indicators
- Quick action buttons for Products, Orders, Customers, Queue, Logs, and Settings
- Status footer with Queue Jobs, Errors, Out of Stock, and Sync Rate
- Auto-refresh every 60 seconds with dark mode support
Troubleshooting
| Issue | Solution |
|---|---|
| Connection failed | Verify API credentials; check network connectivity |
| Sync not running | Check Odoo scheduled actions (cron jobs) are enabled |
| Duplicate products | Review product mapping; ensure SKU matching is configured |
| Orders not importing | Verify order status filters and date range settings |
| Wrong country endpoint | Verify the Country field matches your Daraz seller account region |
| Signature error | Check app_secret matches your Open Platform application |
| Token expired | Module auto-refreshes; verify refresh_token is still valid |
| License not active | Verify your ECOSIRE license key at Settings > ECOSIRE License |