Skip to content

Connect FedEx API to Odoo: Complete Shipping Integration Guide

DeployMonkey Team · March 24, 2026 9 min read

Why Connect FedEx to Odoo?

FedEx provides domestic and international shipping with industry-leading overnight delivery. Integrating FedEx with Odoo automates the shipping process — customers see accurate rates at checkout, warehouse teams print labels from delivery orders, and everyone tracks packages through Odoo's interface. No more switching between Odoo and fedex.com.

FedEx API Services

APIFunctionOdoo Usage
RateCalculate shipping costsCheckout rate display, cost estimation
ShipCreate shipments and labelsDelivery order processing
TrackPackage status and historyCustomer portal, internal tracking
Address ValidationVerify US addressesOrder validation, contact cleanup
PickupSchedule courier pickupWarehouse dispatch
Service AvailabilityAvailable services for routeDynamic service selection

Setup Steps

1. FedEx Developer Account

  • Register at developer.fedex.com
  • Create a project and get API Key and Secret Key
  • FedEx uses OAuth 2.0 for authentication (new RESTful APIs)
  • Link your FedEx shipping account number
  • Use sandbox environment for testing

2. Odoo Configuration

  • Odoo includes native FedEx integration
  • Go to Inventory → Configuration → Shipping Methods
  • Add FedEx as delivery carrier
  • Enter API Key, Secret Key, and Account Number
  • Select environment (Test/Production)
  • Set default package type and weight unit

3. Service Types

Configure FedEx services for your business:

  • FedEx Ground — Economy domestic (1-5 days)
  • FedEx Home Delivery — Residential delivery (1-5 days)
  • FedEx Express Saver — 3-day delivery
  • FedEx 2Day — Two-day delivery
  • FedEx Priority Overnight — Next business day by 10:30 AM
  • FedEx International Priority — International express (1-3 days)
  • FedEx International Economy — International economy (2-5 days)

4. Package Configuration

  • Define package types (FedEx Box, FedEx Envelope, your own packaging)
  • Set default package dimensions and weight
  • Configure multi-package shipments
  • Handle FedEx Freight for palletized shipments
  • Set signature requirements per service level

5. Label Generation

  • Generate labels when processing delivery orders
  • Print format options: PDF, PNG, ZPL (thermal)
  • Include packing slip with shipment details
  • Generate return labels (email or print with outbound)
  • Handle international documentation (commercial invoice, SED)

6. Tracking Integration

  • Auto-store tracking numbers on delivery orders
  • Provide tracking URL to customers via email
  • Fetch detailed tracking events (picked up, in transit, delivered)
  • Display estimated delivery date
  • Handle exception events (delay, address issue, held at facility)

Rate Shopping

  • Query multiple FedEx services simultaneously for rate comparison
  • Display options sorted by price or delivery speed
  • Account for negotiated discounts on your FedEx account
  • Include surcharges (residential delivery, fuel, additional handling)
  • Calculate dimensional weight for large, light packages

Common Pitfalls

  • Residential vs. commercial — FedEx charges more for residential delivery. Use address classification to quote correctly.
  • Dimensional weight — FedEx uses a factor of 5000 (metric) or 139 (imperial). Include package dimensions in Odoo for accurate quoting.
  • API migration — FedEx is transitioning from SOAP to RESTful APIs. Ensure your integration uses the newer REST endpoints.
  • Saturday delivery — Extra charge applies. Configure Saturday delivery as a separate service option.

Getting Started

Deploy Odoo on DeployMonkey with the Inventory module. Enable FedEx as a delivery carrier, configure credentials, and test with a sandbox shipment before going live.