🌐
FedEx
developer.fedex.com
FedEx APIs and Developer Portal
Welcome to FedEx.com - Select your location to find services for shipping your package, package tracking, shipping rates, and tools to support shippers and small businesses
Get Started with Developer Integration
These steps help you set up an organization, create a project, test your integration, move a project to production, and certify your API. Select an option below that best describes your business. A company that ships with FedEx and integrates FedEx APIs into its own applications.
Ship API Documentation
If you issue or create custom notifications, it is advised to use the FedEx tracking number to direct inquiries to fedex.com. The following image provides you with an insight into the content of the updated FedEx Ground Economy label. Explore our JSON API collection to see how we can deliver ...
Basic Integrated Visibility Documentation
Account number or destination postal code or country detail is mandatory to use track by reference. You will get the Estimated Delivery Date (EDD) only after the package is tendered to FedEx. Explore our JSON API collection to see how we can deliver on your business needs.
🌐
GitHub
github.com › clooney › fedex-tracking-api
GitHub - clooney/fedex-tracking-api: Fedex tracking API and webhook make it easy to integrate Fedex tracking function into your own project. · GitHub
TrackingMore's API is compatible with seven programming languages and comes with detailed documentation to aid in the setup and usage, simplifying the integration procedure. Unified real-time tracking information for FedEx shipments.
Author   clooney
🌐
FedEx
fedex.com › en-us › tracking › advanced.html
Advanced Shipment Tracking | FedEx
Our integrated solutions provide ... sizes and requirements. This is the ideal tracking tool for you. ... Sending an email to track@fedex.com....
🌐
Reddit
reddit.com › r/powershell › fedex tracking api example
r/PowerShell on Reddit: FedEx Tracking API Example
February 12, 2022 -

Hello,

This is some sample code I've written for using the FedEx tracking API via PowerShell. I posted something similar awhile back for UPS, but recently had a business need that required me to figure out FedEx tracking too (If anyone knows how to do the same with Canadian carrier Purolator, let me know).

First off, before you can do anything, you need to sign-up in the FedEx Developer Portal at https://developer.fedex.com/api/en-us/home.html

You'll need to create or join an organization and the organization must have at least one active FedEx account linked to it.

Once you've done all that you'll be able to create a new project and get an API key and Secret key to generate an Oauth token used for authentication. Best to just read the documentation in the portal for that part.

Now for the PowerShell. I've created two functions. The first "Get-FedExToken" is used to generate an Oauth token. That token will be used for all your queries using the second function.

The second function is Invoke-FedExRestMethod. This is basically just a wrapper for the Invoke-RestMethod cmdlet with some info filled out already.

# Generates a Oauth token for authentication.
Function Get-FedExToken{
    param(
        $ClientID,
        $ClientSecret
    )

    $RestMethodParams = @{
        URI     = "https://apis.fedex.com/oauth/token"
        Method  = "POST"
        Headers = @{
            "Content-Type" = "application/x-www-form-urlencoded"
        }
        Body    = "grant_type=client_credentials&client_id=$ClientID&client_secret=$ClientSecret"
    }
    Invoke-RestMethod @RestMethodParams
}

# Custom wrapper for Invoke-RestMethod.
Function Invoke-FedExRestMethod{
    param(
        [String[]]$TrackingNumber,
        $Token
    )

    $BODY = [PSCustomObject]@{
        trackingInfo = [PSCustomObject[]]@{
            trackingNumberInfo = [PSCustomObject]@{
                trackingNumber = $TrackingNumber
            }
        }
        includeDetailedScans = $true
    } | ConvertTo-Json -Depth 3

    $RestMethodParams = @{
        URI = 'https://apis.fedex.com/track/v1/trackingnumbers'
        Method = 'POST'
        Headers = @{
               "content-type" = "application/json"
               authorization = "bearer $($Token.access_token)"
        }
        Body = $BODY
    }

    Invoke-RestMethod @RestMethodParams
}

# Example Usage:
$ClientID = '<ID>'
$ClientSecret = '<SecretKey>'

$Token = Get-FedExToken -ClientID $ClientID -ClientSecret $ClientSecret
$Result = (Invoke-FedExRestMethod -TrackingNumber '999999999999' -Token $Token).output
$Result.completeTrackResults.trackResults
🌐
FedEx Canada
fedex.com › en-ca › resources-tools › api.html
FedEx Shipping Integration and Web Services API | FedEx Canada
With FedEx Web Services, you can integrate FedEx Express®, FedEx Ground® and FedEx Freight® shipping services into your business systems, retail website or order management system.
🌐
FedEx
dev.supplychain.fedex.com › gettrack
Available APIs
The Tracking API provides the capability of retrieving the details transit information for a single FedEx tracking number.
🌐
Postman
postman.com › trackingmore › fedex-tracking-api › collection › 9d3u0ru › fedex-tracking-api
Fedex Tracking API | Get Started
TrackingMore is an API-based shipment tracking solution that empowers businesses to integrate tracking information from various carriers into their systems, websites, or apps.
Find elsewhere
🌐
Postman
postman.com › trackingmore › fedex-tracking-api › documentation › 9d3u0ru › fedex-tracking-api
Fedex Tracking API | Documentation | Postman API Network
June 17, 2024 - Integrate FedEx tracking API into your systems for real-time shipment tracking and efficient monitoring of package status, location, and delivery progress.
🌐
FedEx
developer.fedex.com › api › en-vu › catalog › track.html
Basic Integrated Visibility | FedEx Developer Portal
July 27, 2020 - Get access to FedEx APIs by creating a user ID. ... This API allows you to obtain basic tracking information for FedEx® shipments.
🌐
FedEx
fedex.com › en-us › tracking.html
FedEx Tracking Services - Track Your Package
Where is my package? Enter your FedEx tracking number, track by reference, obtain proof of delivery, or TCN. See FedEx Express, Ground, Freight, and Custom Critical tracking services.
🌐
Trafficparrot
trafficparrot.com › sandbox-ready-made-mocks › fedex › fedex-integration-guide.html
Traffic Parrot FedEx® API integration guide
Register for access to the FedEx® API. Manually verify API behaviour. Use code samples to write API integration code. ... Manual exploratory testing. Manual regression testing. Automated unit testing of key business logic. Automated integration testing of API usage. Automated end to end acceptance testing of application. ... Release checklist. Monitoring and observability. Change management. Throughout this guide we will use a sample application that tracks FedEx® deliveries and has a web user interface.
🌐
FedEx United Kingdom
fedex.com › en-gb › shipping-tools › direct-integrations › api.html
FedEx APIs Solutions | FedEx United Kingdom
FedEx APIs keep customers on your site while adding speed and efficiency to your shipping process. It helps your team fulfill orders and helps customers to track shipments directly on your website or application.
🌐
FedEx
fedex.com › en-au › shipping › industry-solutions › ecommerce › webservices.html
FedEx API | FedEx Australia
Automate processes like creating shipping labels, estimating transit times, and tracking shipment status to offer customers a better experience. Integrating common FedEx functionality into your business workflow.
🌐
AfterShip
aftership.com › home › carriers › fedex › api
FedEx API - AfterShip
April 4, 2020 - Get a free API key to integrate FedEx RESTful API, includes the FedEx Tracking API, FedEx Shipping API, and FedEx Webhook. Receive real-time updates on FedEx tracking without FedEx developer account. Start tracking and shipping effortlessly with AfterShip multi-carriers API.
🌐
FedEx
developer.fedex.com › api › en-us › catalog › track › docs.html
Basic Integrated Visibility Documentation | FedEx Developer Portal
A tracking number is a unique identifier assigned to each package, enabling you to monitor its movement both domestically and internationally. FedEx tracking services provide accurate, real‑time visibility for shipments across FedEx Express®, FedEx Ground®, FedEx Home Delivery®, FedEx Freight®, and FedEx Ground® Economy (formerly FedEx SmartPost®).
🌐
Shopify
help.shopify.com › en › manual › fulfillment › setup › order-status-page › order-tracking
Shopify Help Center | Order tracking at Shopify
Shopify recognizes tracking numbers from hundreds of carriers worldwide, including major carriers such as DHL, UPS, FedEx, Canada Post, Australia Post, and EVRi. Clickable tracking links are generated automatically for your customers.
🌐
Delhivery
delhivery.com › tracking
Delhivery Tracking | Track Parcel & Shipment Delivery
Track one or multiple parcels with Delhivery Tracking, use your tracking number to track the status of your parcel. Track orders from Delhivery App and get customer support. Read Frequently Asked Questions on tracking your order with Delhivery.
🌐
FedEx
fedex.com › en-us › integration › faq.html
Frequently Asked Questions | FedEx Integration Solutions
This capability is completely separate from the act of shipping and can prevent mistakes that harm the customer's perception of your business. Discover APIs like Address Validation, Rate, Track, etc. in our API Catalog. Q. How long does it take to implement FedEx APIs?