Odoo integration · Marketplaces
Integrate Miravia with Odoo
FlexigoTech has no published connector for Miravia today. Miravia's Open Platform covers products, orders, fulfilment and returns, with one production endpoint for Spain, api.miravia.es. An order would come into Odoo line by line, because Miravia sends its status changes per order line, and Odoo would answer with stock, the tracking number and the parcel handover.
A custom module needs Odoo.sh or a self-hosted Odoo: standard Odoo Online does not accept custom code.
What the Miravia API exposes
Miravia's guide splits the integration into product management (create, update, price and stock), orders with their returns and refunds, change notifications, and the API reference by family: Product, Order, Fulfillment, Seller and Feed. The Feed API and the Automatic Feeds load products in bulk from JSON, Excel or CSV files.
Authentication, events and limits, from the Miravia documentation
- Authentication: App Key and App Secret of the application, plus the seller's access_token on calls that need the seller's authorisation
Miravia Open Platform verifies the identity of the requests by the App Key and Secret that are assigned to your application.
(source) - Request signing: every call carries an HMAC-SHA256 sign and a timestamp no more than 7,200 seconds away from UTC
Note that the difference between the timestamp and UTC time should not exceed 7200 seconds.
(source) - Push notifications: trade order and reverse order messages, one per order line, with an HMAC-SHA256 signature in the Authorization header
Note: "order_status" refers to order line status, the push notification is sent by order line.
(source) - Retries: an unacknowledged message is sent again every 30 minutes, up to 12 times; after that the orders have to be pulled with /orders/get
If you fail to do 1, server will retry sending the message after 30 mins.
(source) - Callback URL: HTTPS with an OV or EV certificate; self-signed and DV certificates are refused
Certs must be OV or EV. DV is not working.
(source)
Object by object: where each Miravia record would land in Odoo
| Miravia resource | Odoo model | Direction | What the integration would do |
|---|---|---|---|
| GetOrders, GetOrderItems | sale.ordersale.order.lineres.partner | Miravia → Odoo | Each order becomes a sales order with its buyer, and each item an order line; the push message's trade_order_line_id tells which line changed. |
| CreateProduct, UpdateProduct, GetCategoryTree | product.templateproduct.productproduct.category | Odoo → Miravia | Odoo products and variants published as Miravia products and SKUs, with the Odoo category matched to Miravia's category tree. |
| UpdatePriceQuantity, UpdateSellableQuantity | stock.quantproduct.pricelist | Odoo → Miravia | Odoo's available quantity and the price from a Miravia pricelist, sent per SKU whenever they change. |
| /v2/order/fulfill, GetDBSShipmentProviders | stock.pickingdelivery.carrier | Odoo → Miravia | With delivery by seller (DBS), validating the Odoo delivery sends the shipping_provider_code of the carrier and the tracking_number, and the order moves from packing to handover. |
| PrintAWB | stock.pickingir.attachment | Miravia → Odoo | The shipping label Miravia generates, attached to the Odoo delivery so the warehouse prints it from there. |
| /v2/order/returnRefund/reject, InitReverseOrderCancel | stock.pickingaccount.move | both ways | Buyer returns and cancellations, from the reverse order messages: a return receipt and a credit note in Odoo, or a rejection with its reason when the item is not damaged. |
Models checked in the Odoo 17 to 20 source code on 24-11-2026.
Does Odoo already ship something for Miravia?
No: no Odoo 17 to 20 module is named after Miravia (checked on 24-11-2026).
How we would build it
First we look, free of charge, at what has to move between Miravia and your Odoo. Then you get the scope in writing and a fixed price before any code is written; we do not bill by the hour. The module is Python on the Odoo ORM, with tests, and we test it on a real Odoo.sh before delivery.
Sources
- open.miravia.com/apps/doc/doc?nodeId=112&docId=293, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=112&docId=295, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=49&docId=221, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=49&docId=222, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=49&docId=223, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=75&docId=212, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=77&docId=216, read on 24-11-2026
- open.miravia.com/apps/doc/doc?nodeId=96&docId=283, read on 24-11-2026
Related
Miravia is a trademark of its owner; this page summarises its public documentation.
