Skip to main content

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.

  • API: Miravia Open Platform (REST, peticiones firmadas)
  • Authentication: App Key and App Secret of the application, plus the seller's access_token on calls that need the seller's authorisation
  • Odoo: 17, 18, 19 and 20, on Odoo.sh or your own server
  • FlexigoTech connector: not published; we build it to order

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.

open.miravia.com/apps/doc/doc?nodeId=96&docId=283

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 authorisationMiravia 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 UTCNote 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 headerNote: "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/getIf 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 refusedCerts must be OV or EV. DV is not working. (source)

Object by object: where each Miravia record would land in Odoo

Miravia resourceOdoo modelDirectionWhat the integration would do
GetOrders, GetOrderItemssale.order
sale.order.line
res.partner
Miravia → OdooEach 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, GetCategoryTreeproduct.template
product.product
product.category
Odoo → MiraviaOdoo products and variants published as Miravia products and SKUs, with the Odoo category matched to Miravia's category tree.
UpdatePriceQuantity, UpdateSellableQuantitystock.quant
product.pricelist
Odoo → MiraviaOdoo's available quantity and the price from a Miravia pricelist, sent per SKU whenever they change.
/v2/order/fulfill, GetDBSShipmentProvidersstock.picking
delivery.carrier
Odoo → MiraviaWith 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.
PrintAWBstock.picking
ir.attachment
Miravia → OdooThe shipping label Miravia generates, attached to the Odoo delivery so the warehouse prints it from there.
/v2/order/returnRefund/reject, InitReverseOrderCancelstock.picking
account.move
both waysBuyer 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.

Custom development

Shall we connect Miravia to your Odoo?

Request a free scope analysis