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
- Product sync: import Daraz listings, link to existing Odoo products by Seller SKU (no duplicates), and push stock + price back to Daraz
- Automatic order import and fulfillment tracking
- Real-time inventory synchronization (stock + price push to Daraz)
- 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
- Import Daraz listings into Odoo and push stock + price back to Daraz. Creating brand-new Daraz listings from Odoo is on the roadmap — create the listing in your Daraz Seller Center first, then map it by Seller SKU (see Map products to your existing catalogue below).
- 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
Map products to your existing catalogue
If you already keep your products in Odoo and want Daraz to link to them — not create duplicates, and not split a variant product into copies:
- Open your store under Configuration → Products / Pricing and set "Create Missing Products" = OFF.
- Make each Odoo product's Internal Reference (
default_code) — or Barcode — equal to its Daraz Seller SKU. For variant products, set it on each variant. - Daraz → Tools → Import Product Mapping (Excel/CSV) → Match By = Seller SKU → run Preview only, review the log, then run Only update existing products. Matching products are linked to the store; no new products are created.
- For orders that arrived before mapping (flagged "Needs Product Mapping"), open the order and click Re-map Products.
Variant listings (several SKUs under one Daraz product) become one Odoo product with proper variants, on every import path.
👉 Full self-serve walkthrough: Store Connector Setup & Product Mapping.
Fulfilment — push status & print labels
From a Daraz order in Odoo:
- Mark Packed — set the Shipment Provider field first (e.g. "Daraz Express"); Daraz rejects a pack request with no provider.
- Ready to Ship — pushes RTS with optional carrier + tracking number.
- Print AWB / Print Invoice — fetches the PDF from Daraz and attaches it to the order.
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 | Set Create Missing Products = OFF and map by Seller SKU — see Map products to your existing catalogue |
| Variants split into separate products | Set each variant's Internal Reference to its own Daraz Seller SKU, then Re-map Products |
| Mark Packed: "status not updated" | Set the Shipment Provider on the order and confirm Sandbox Mode is OFF |
| AWB will not print | Confirm Sandbox Mode is off and the order has live Daraz item IDs, then retry |
| 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 |
Odoo 17 install raises ValueError: Wrong value for ir.actions.act_window.view.view_mode: 'list' | Upgrade to daraz_store_management 17.0.5.0.1 or newer — fixed 2026-05-10. See common issues |
| Activation rejected with "License is not valid for Odoo version: 17.0 (licensed for version 17)" | Upgrade ecosire_license_client to 17.0.2.1.1 / 18.0.2.1.1 or newer — fixed 2026-05-08 |