Odoo MerchantPro integration

MerchantPro Connector

MerchantPro orders in Odoo, stock and AWB numbers back in the shop.

MerchantPro and Odoo 19

What it does

Orders from your MerchantPro shop arrive in Odoo as sales orders, with the buyer, the company VAT number and the delivery address. Odoo sends stock, prices and the courier AWB back, so the shop shows the same numbers your warehouse does.

You add an API user in the MerchantPro dashboard and paste the API User and API Secret into Odoo. Test Connection calls the shop and counts its products. Each Odoo company can connect its own shops.

Import Orders reads the orders changed since the last run. Each one becomes an Odoo sales order with the product lines, coupon and promotion lines, the shipping cost and the tax found by its rate. Business buyers come in as a company with VAT and registration number, and the person who ordered as its contact. A different shipping address becomes a delivery address of the customer.

With webhooks set up, MerchantPro tells Odoo about new orders, payments and status changes within seconds. Each call is checked against the shop webhook secret, queued, and the order is read again from the API before anything changes.

When you validate the delivery in Odoo, the tracking number goes to MerchantPro as the AWB and the order is marked shipped. Delivered and cancelled are buttons on the order, so nothing is cancelled in the shop by accident.

Who it is for

  • Romanian online shops running on MerchantPro. The shop takes orders on MerchantPro while stock and accounting sit in Odoo. Orders arrive by webhook as sales orders with billing and shipping addresses, coupons, shipping cost and taxes matched by rate.
  • Shops with many business buyers. Company orders keep the company name, VAT number and registration number. Customers are matched by VAT first and then by email, only among the contacts of the shop's company or shared ones.
  • Stores that print courier labels in Odoo. When the delivery of an imported order is validated, the tracking number goes to MerchantPro as the AWB and the order is marked shipped. Attach Label PDF sends the carrier label along with it.
  • Merchants tired of updating stock by hand. Free stock of the chosen warehouse and the sales price are sent to the shop in batches, either from the Send Stock and Send Prices buttons or by the 15-minute schedule, with prices sent gross or net.

Setting it up

  1. In MerchantPro, open Settings > API and webhooks > API Users and add an API user with rights on orders, products and inventory. Note the API User and API Secret.
  2. Install the module and go to Sales > MerchantPro > Shops. Create a shop with the shop address, API User, API Secret and the shop's webhook secret, then press Test Connection.
  3. Back in MerchantPro, add webhooks for the order events and for product.created and product.deleted, pointing to the Webhook URL shown on the Odoo shop form.
  4. Pick the warehouse, the shipping and discount products, the pricelist and the sales team on the shop.
  5. Press Import Products to link shop products and variants to Odoo by SKU or EAN, creating missing ones if Create Missing Products is ticked.
  6. Press Import Orders to bring in recent orders, then tick Scheduled Sync and Scheduled Stock Push.

MerchantPro Connector: questions

Can it wait until a card payment has gone through?

Yes. With Wait for Online Payment ticked, card and online-payment orders are imported only once MerchantPro marks them paid, while cash on delivery and bank transfer orders come in straight away.

How are coupons and promotions booked?

Coupon rows always become a line with the discount product. Taxes are matched by rate, so a 19% sale tax must exist in Odoo for 19% shop lines.

Will cancelling in Odoo cancel the shop order?

Only when someone presses Cancel in MerchantPro on the delivery. The other way round, a cancelled or returned shop order cancels the Odoo order if nothing was delivered yet.

Are Odoo products with variants created in the shop?

No. Create in MerchantPro makes basic products only. Shop variants that already exist are linked to Odoo variants with the same SKU or EAN, or come in as separate products.

What if MerchantPro rate-limits the calls?

MerchantPro answers 429 with a wait time. The connector waits that long and tries again up to two times, and Sales > MerchantPro > API Log shows the requests left.

Are webhooks trusted as they arrive?

No. Each webhook must carry a valid HMAC-SHA256 signature made with the shop's webhook secret, and the order is then read again from the API before Odoo changes anything.