Odoo Magalu integration

Magalu Connector

Connect Odoo directly to Magalu: orders, NF-e, tracking, shipping labels, price and stock. No extra subscription in between.

Magalu Open APIOAuth with ID MagaluOrders and deliveriesNF-eSigned webhooksSandboxPortugues

What it does

Magazine Luiza sellers can run the marketplace from Odoo. This module talks to the Magalu Open API with your own client: paid orders become sale orders with customer, CPF or CNPJ, address and freight; each delivery gets its NF-e, tracking and delivered status; price and stock go back per SKU; and signed webhooks bring changes in as they happen.

Features

Direct connectionOAuth 2.0 with ID Magalu using your own client. Odoo keeps and renews the tokens. Production and sandbox hosts are both supported.
Order importScheduled or on demand. Amounts are read in cents with their normalizer, so price, discounts and freight match Magalu. An order with an unknown SKU is noted and imported whole on the next run.
CustomersA repeat customer is recognised by CPF or CNPJ. A new delivery address becomes a delivery contact, with the Brazilian state.
Several deliveries per orderEach Magalu delivery is its own record with status, deadline, provider, NF-e and tracking.
NF-eSend the access key, issuer, amount and XML of the NF-e for a delivery. The status Magalu returns is stored. The module does not issue the NF-e itself.
TrackingSend the carrier and tracking number from the delivery, or automatically when the delivery order is validated.
Delivered and labelsMark a delivery as delivered, and download the Magalu shipping label as a PDF on the delivery order.
Price and stockPush price, list price and stock per SKU, on demand or on a schedule that sends only what changed, with a safety buffer. Errors stay on the listing.
Signed webhooksSubscribe to orders and deliveries from Odoo. Each notification is verified with HMAC-SHA256 and its timestamp, including during secret rotation.
API logEvery call with method, path, HTTP status and message. Reads retry on rate limits and gateway errors; writes are never repeated.