The sandbox API credentials are not immediately usable when creating a new account. It took >1 hour for me to get a registration complete email from FedEx after which the sandbox credentials became valid.

Answer from pkarnia on Stack Overflow
🌐
Postman
postman.com › trackingmore › fedex-tracking-api › documentation › 9d3u0ru › fedex-tracking-api
Fedex Tracking API | Documentation | Postman API Network
June 17, 2024 - postman request '{{API_BASE}}/{{API_VERSION}}/trackings/get?archived_status=<string>&courier_code=fedex&created_date_max=<string>&created_date_min=<string>&delivery_status=<string>&items_amount=<string>&lang=<string>&pages_amount=1&tracking_numbers=<string>&updated_date_max=<string>&updated_date_min=<string>' \ --header 'Content-Type: application/json'
Plans & Pricing
Compare Postman pricing plans for individuals, teams, and enterprises. Build, test, and automate APIs with built-in AI, collaboration, and advanced governance tools.
What is Postman? Postman API Platform
Postman is the leading API platform for building, testing, and managing APIs. Empower your team to streamline the entire API lifecycle.
Download Postman
Try Postman for free! Join 40 million users who rely on Postman, the collaboration platform for API development. Create better APIs—faster.
Open Positions at Postman
Discover current job opportunities at Postman. Join our team and help shape the future of API development.
🌐
Postman
postman.com › trackingmore › fedex-tracking-api › overview
Fedex Tracking API | Postman API Network
This workspace provides example requests for essential Fedex tracking APIs, including the Real-Time Tracking API, Create Trackings API and the Get Results API.
🌐
Trafficparrot
trafficparrot.com › sandbox-ready-made-mocks › fedex › fedex-integration-guide.html
Traffic Parrot FedEx® API integration guide
To help you get started, we have a sample Postman collection which you can import into your own workspace. First, we need to verify that we can successfully authenticate with our API Key and Secret Key by submitting an OAuth 2.0 request to https://apis-sandbox.fedex.com/oauth/token as follows.
🌐
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 · How does TrackingMore API work
Find elsewhere
🌐
Postman
postman.com › amol30 › doofood › collection › yzazvy5 › fedex-ship-api
FedEx Ship API | Get Started | Postman API Network
FedEx Ship API on the Postman API Network: This public collection features ready-to-use requests and documentation from Doofood.
🌐
FedEx
developer.fedex.com › api › en-us › catalog › authorization › docs.html
API Authorization Documentation | FedEx Developer Portal
They authorize access to the APIs that are enabled under your project. Credentials are created based on inputs in the FedEx Developer Portal:
🌐
Postman
postman.com › justransform-dev › jt-external › collection › zu3adzn › fedex-restful-api
Fedex Restful API | Get Started | Postman API Network
Fedex Restful API on the Postman API Network: This public collection features ready-to-use requests and documentation from JT External.
🌐
FedEx
developer.fedex.com › api › en-us › catalog › ship › docs.html
Ship API Documentation | FedEx Developer Portal
These resources will help you with answers to all your questions related to the shipping domain and equip you to use FedEx APIs for your shipments.
🌐
Postman
postman.com › amol30 › doofood › collection › 8zb6t96 › fedex-rates-and-transit-times-api
FedEx Rates and Transit Times API | Get Started | Postman API Network
FedEx Rates and Transit Times API on the Postman API Network: This public collection features ready-to-use requests and documentation from Doofood.
Top answer
1 of 3
4

I am going to give an extensive overview of how to setup a test account, because I just attempted this task myself and had quite a bit of trouble. Some of the information I am presenting was included in other answers, but I am trying to organize a complete response with an example.

Here are some reference links that are current as of February 2020.

Developer Guide

Test Server Mock Tracking Numbers

Tracking xsd

1) You must sign up for test credentials. After you login to your account on the fedex site, go to the web services development page (currently https://www.fedex.com/en-us/developer/web-services/process.html#develop). On this page you will see an option for "Get Your Test Key". Follow these instructions. After completing the steps, you will receive a developer test key, password, test account number, and test meter number. My test password was provided via email. For some reason it wasn't on the success/confirmation page with the rest of the information.

2) After completing the registration you are ready to submit a test request. The test url endpoint is https://wsbeta.fedex.com:443/web-services (which was provided in the confirmation email). I prefer to use Postman for testing. If you would also like to use Postman, here's a tutorial on how to make SOAP requests. The complete SOAP text is below. The tracking number was pulled from the Appendix F: Test Server Mock Tracking Numbers document referenced above. If you copy and paste the code below, ensure that you replace your key, password, account number, and meter number with the place holder text.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://fedex.com/ws/track/v18">
   <SOAP-ENV:Body>
      <TrackRequest>
         <WebAuthenticationDetail>
            <UserCredential>
               <Key>YOUR TEST KEY HERE</Key>
               <Password>YOUR TEST PASSWORD HERE</Password>
            </UserCredential>
         </WebAuthenticationDetail>
         <ClientDetail>
            <AccountNumber>YOUR ACCOUNT NUMBER HERE</AccountNumber>
            <MeterNumber>YOUR METER NUMBER HERE</MeterNumber>
         </ClientDetail>
         <TransactionDetail>
            <CustomerTransactionId>Track By Number_v18</CustomerTransactionId>
            <Localization>
               <LanguageCode>EN</LanguageCode>
            </Localization>
         </TransactionDetail>
         <Version>
            <ServiceId>trck</ServiceId>
            <Major>18</Major>
            <Intermediate>0</Intermediate>
            <Minor>0</Minor>
         </Version>
         <SelectionDetails>
            <PackageIdentifier>
               <Type>TRACKING_NUMBER_OR_DOORTAG</Type>
               <Value>231300687629630</Value>
            </PackageIdentifier>
         </SelectionDetails>
         <ProcessingOptions>INCLUDE_DETAILED_SCANS</ProcessingOptions>
      </TrackRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The above results in a successful request and response. This is an example of making a tracking request by tracking number. You can also make the request by other methods.

Update: using the API to get shipment information by tracking number works on the test API, but using other methods such as via customer reference or shipper reference do not. As of 3/2/2020 these filters return errors 9040 and 9045. I contacted FedEx support and the person I spoke to verified that the test API is not working for these types of filters, but they do work on the production API. I have verified that this is correct. The production site does allow you to pull information in ways other than the tracking number.

2 of 3
3

When you get the test credentials (Key, Password, Account Number, and Meter Number) from FedEx, you can only use them through the Test Web Services (there is not a FedEx Test Shipment Website). Some of the operations which you can perform with those credentials are Rate, Ship, and Cancel shipments.

In the developer portal, you can find sample code in different languages (Java, C#, VB.net, etc). Those examples are console applications, so you may need to analyse how a FedEx request is built and do your own implementation in your application. Moreover, if you pay attention to the code, you may notice that the examples don't show how to process the web service responses, so I recommend you to serialize the responses into XML or JSON so you can better visualize where the rates, labels and tracking numbers are stored.

I am attaching a link of a sample SOAP Envelope shipment request which I hope that it helps you to get started. Fedex WSDL C# - Setting the Invoice # value

Best!

🌐
Postman
postman.com › bold-station-703627 › my-workspace › request › ew6mx6g › fedex-freight
FedEx Freight | Carrier Services | Postman API Network
Accelerate API development with Postman's all-in-one platform. Streamline collaboration and simplify the API lifecycle for faster, better results. Learn more.
🌐
Postman
postman.com › trackingmore › workspace › fedex-tracking-api › request › 36260389-dbd5172a-c2d1-408d-8e14-b3f4fa51b138
Create a tracking (realtime query) | Fedex Tracking API
TrackingMore is an API-based shipment tracking solution that empowers businesses to integrate tracking information from various carriers into their systems, websites, or apps · How does TrackingMore API work
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Fedex-API-Works-in-Postman-but-not-in-Download-tool › td-p › 970128
Fedex API - Works in Postman but not in Download t... - Alteryx Community
October 24, 2024 - The first workflow connects to Fedex's Api Authorization API and successfully gets the bearer token. The token is passed to the second workflow with an address to validate. For troubleshooting, I'm using the provided Fedex request sample in the payload. I've composed the query field by field, taken the query from a field and tried pasting the payload directly into the Download tool. The error message implies the issue is with the bearer token, however the token works when used in Postman, and the headers appear to be straight-forward.
🌐
Postman
postman.com › apidesigners › fedex-tracking-api-and-webhooks › overview
FedEx Tracking API and Webhooks
Accelerate API development with Postman's all-in-one platform. Streamline collaboration and simplify the API lifecycle for faster, better results. Learn more.