Skip to main content

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

  1. Download the module ZIP from your ECOSIRE Dashboard
  2. Extract to your Odoo addons directory:
    unzip ecosire-daraz-*.zip -d /opt/odoo/addons/
  3. Restart the Odoo service:
    sudo systemctl restart odoo
  4. Navigate to Apps, click Update Apps List
  5. Search for the module and click Install
  6. Enter your ECOSIRE license key when prompted

Configuration

Step 1: Obtain Daraz API Credentials

  1. Go to the Daraz Open Platform for your country
  2. Register as a developer and create an application
  3. Note your App Key and App Secret
  4. Complete the OAuth flow to obtain your Access Token and Refresh Token

Step 2: Connect in Odoo

  1. Navigate to Daraz Store Management > Configuration
  2. 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
  3. Click Test Connection to verify API access
  4. 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

  1. Go to Daraz Store Management > Operations > Initial Import
  2. Select data types to import (Products, Customers, Orders)
  3. Set date range for historical orders
  4. Click Start Import and monitor progress in the sync log

API Details

FieldValue
Auth methodHMAC-SHA256 signed requests + OAuth tokens
PK endpointhttps://api.daraz.pk/rest
BD endpointhttps://api.daraz.com.bd/rest
LK endpointhttps://api.daraz.lk/rest
MM endpointhttps://api.shop.com.mm/rest
NP endpointhttps://api.daraz.com.np/rest
SignatureHMAC-SHA256 over sorted params with api_path prefix
Key config fieldsapp_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

IssueSolution
Connection failedVerify API credentials; check network connectivity
Sync not runningCheck Odoo scheduled actions (cron jobs) are enabled
Duplicate productsReview product mapping; ensure SKU matching is configured
Orders not importingVerify order status filters and date range settings
Wrong country endpointVerify the Country field matches your Daraz seller account region
Signature errorCheck app_secret matches your Open Platform application
Token expiredModule auto-refreshes; verify refresh_token is still valid
License not activeVerify your ECOSIRE license key at Settings > ECOSIRE License

Support