Odoo eMAG integration

eMAG Connector

eMAG Connector - eMAG Marketplace Integration - Romania, Bulgaria, Hungary

What it does

Run your eMAG Marketplace shop from Odoo: orders, stock, prices, AWBs and returns.

Every 15 minutes Odoo reads the eMAG orders changed since the last run. A new order becomes a sale order with the billing customer, a separate delivery address, the eMAG locality id and, for easybox orders, the locker. Cancelled lines are skipped, the eMAG shipping fee and vouchers become their own lines, and the order is acknowledged on eMAG so it moves to "In progress".

Before an order is confirmed, Odoo compares its total with the eMAG total. If a product could not be matched or the totals differ by more than the tolerance you set, the order waits with a review flag and a reason. AWBs and the "Finalize" step are blocked until someone clears it.

Stock is the free quantity of one warehouse times a share per account, so one stock can feed eMAG Romania and eMAG Bulgaria without selling the same keyboard twice. Prices come from a pricelist, are sent without VAT with the eMAG VAT id, and stay inside the min and max price you set per offer.

Who it is for

  • Sellers on eMAG Romania, Bulgaria or Hungary. Each account is one storefront: eMAG Romania (RON), eMAG Bulgaria (EUR), eMAG Hungary (HUF), Fashion Days Romania or Fashion Days Bulgaria. Pick the platform and Odoo uses the api-3 address for it.
  • One stock shared across several storefronts. Stock Share (%) on each account decides how much of the warehouse free quantity that storefront gets. Set 50 on eMAG Romania and 50 on eMAG Bulgaria and the same units are not offered twice.
  • Shops printing AWBs from eMAG courier accounts. Press Load Courier Accounts, fill the AWB sender, and press Issue eMAG AWB on the order. The label comes back as A4, A5, A6 or ZPL, and the eMAG Courier delivery method issues it when the delivery is validated.
  • Teams that want a check before an order ships. If an item can't be matched to a product, or the Odoo total and the eMAG total differ by more than the tolerance (0.05 by default), the order gets the eMAG Review flag and a reason. Someone presses Mark Review Done before AWB and Finalize are allowed.

Setting it up

  1. Ask eMAG to enable API rights on a user and to whitelist the public IP address of your Odoo server.
  2. Go to eMAG > Configuration > Accounts, create an account, choose the Platform and enter the API Username and API Password. Tick demo mode first if eMAG has not granted access yet.
  3. Press Test Connection. When the state shows Connected, the Import Orders, Read Offers, Push Stock, Push Prices and Import Returns buttons appear.
  4. On the Price and Stock tab, set the pricelist, warehouse and stock share, press Load VAT IDs and pick the Default VAT ID.
  5. On the AWB Sender tab, press Load Courier Accounts, choose one, and enter the eMAG Address ID or the sender name, phone, locality and street.
  6. Press Read Offers so existing eMAG offers are matched to products by part number or EAN, then check eMAG > Offers.
  7. Tick Enable Push, run Push Stock and read the payload in eMAG > Configuration > API Log. When it looks right, untick Dry Run.

eMAG Connector: questions

Which Odoo edition and version does it need?

Odoo 19, Community or Enterprise. It depends on Sales, Inventory with delivery and Invoicing, which are all in Community.

Will it write to eMAG as soon as I install it?

No. Enable Push is the switch for every write of stock, prices and products, and Dry Run is on by default. With Dry Run on, the payloads are built and logged but not sent.

How fast do orders arrive?

A scheduled job reads changed orders every 15 minutes. For faster import, generate the callback URL on the Callbacks tab and give it to eMAG. Calls from IP addresses outside the Callback Source IPs list are refused.

Can I send my invoice to eMAG?

Yes. On a posted customer invoice linked to an eMAG order, press Send Invoice to eMAG. Odoo sends eMAG a portal link to the invoice PDF, not the file itself.

Can I list products eMAG doesn't sell yet?

Yes. Under eMAG > Configuration > Categories, press Load Characteristics for your category, fill the values on the offer and press Send Product to eMAG. Odoo refuses to send while a mandatory characteristic is empty. To join an existing eMAG product, fill in the eMAG PNK instead.

How are returns handled?

Return requests are imported every 2 hours or with Import Returns. On each one you can Acknowledge, Mark Received, Finalize or Refuse, depending on its eMAG status.