View All Docs
Product overview
Account overview
Integrations
Transforms
Security
Hide Navigation
Product overview
Account overview
Integrations
Transforms
Security

Enrich tracking from FedEx

The FedEx API is used by businesses, developers, and logistics managers to integrate FedEx's shipping, tracking, and logistics services into their platforms and operations.

FedEx is a beta integration which requires a slightly more involved setup process than our native integrations. Following the guidance in this document should help even those without technical experience to enrich data from FedEx. If you run into any questions, shoot our team an email at support@parabola.io.

Use Cases

Use Case Description
Real-Time Delivery Tracking Integrate real-time tracking updates into your applications or websites, allowing customers and businesses to monitor the status of their shipments.
Shipping Rate Calculation Calculate shipping costs for domestic and international shipments in real-time and provide accurate shipping costs to customers at checkout.
Transit Time Calculation Calculate estimated delivery times for packages based on FedEx's delivery schedules and provide customers accurate delivery windows during checkout.
Label Creation Generate shipping labels directly from your systems, making it easy to streamline the shipping process without manually entering data into FedEx’s website.

🤝  FedEx | Integration configuration

📖  FedEx API Reference:
https://developer.fedex.com/api/en-us/get-started.html

🔐  FedEx Authentication Documentation:https://developer.fedex.com/api/en-us/catalog/authorization/v1/docs.html

Instructions

1. Navigate to the FedEx Developer Portal.

2. Click Login to access your FedEx account.

3. In the side-menu, select My Projects.

4. Click + CREATE API PROJECT.

5. Complete the modal by selecting the option that best identifies your business needs for integrating with FedEx APIs.

6. Navigate to the Select API(s) tab.

7. Select the API(s) you want to include in your project. Based on the API(s) you select, you may need to make some additional selections.

⚠️ Note: If you select Track API, complete the additional steps below:

1. Select an account number to associate with your production key.
2. Review the Track API quotas, rate limits, and certification details.
3. Choose whether or not you want to opt-in to emails that will notify you if you exceed your quota.

8. Navigate to the Configure project tab.

9. Configure your project settings with name, shipping location, and notification preferences.

10. Navigate to the Confirm details tab.

11. Review your project details, then accept the terms and conditions.

12. On the Project overview page, retrieve your API Key and Secret Key.

💡 Tip: Use Production Keys to connect to live production data in Parabola. Use Test Keys to review the request and response formats using from the documentation.

  1. Configure an Expiring Access Token request to the OAuth endpoint in Parabola.

🔐  Parabola | Authentication configuration

1. Add an Enrich tracking from FedEx step template to your canvas.

2. Click into the Enrich with API: FedEx Tracking step to configure your authentication.

3. Under the Authentication Type, select Expiring Access Token before selecting Configure Auth.

4. Enter your credentials to make a request to the OAuth endpoint using the format below:

Access token request URL (POST)

Sandbox URL

https://apis-sandbox.fedex.com/oauth/token

Production URL

https://apis.fedex.com/oauth/token

Request Body Parameters

Key Value
grant_type client_credentials
client_id <Your Client ID>
client_secret <Your Client Secret>

⚠️ Note: Use your API Key in place of your Client ID. Use your Secret Key in place of your Client Secret.

Request Headers

Header Key Header Value
Content-Type application/x-www-form-urlencoded
Accept application/json

Response Access Token Field

access_token

5. Click Advanced Options

Header Key for Using Access Token

Authorization

Header Value for Using Access Token

Bearer {token}

6. Click Authorize

Example Screenshot

🌐  FedEx | Sample API Requests

Track FedEx shipment statuses by tracking number

Get started with this template.

1. Add a Use sample data step to yourFlow. You can also import a dataset with tracking numbers into your Flow (Pull from Excel File, Pull from Google Drive, Pull from API, etc.)

💡 Tip: When using your own data, use the Edit columns step to rename the tracking column in your source data to Tracking Number.

2. Connect it to the Enrich with API: FedEx Tracking step.

3. Under Authentication Type, select Expiring Access Token to use your authentication credentials.

4. Click into the Request Settings to configure your request using the format below:

API Endpoint URL

Field Value
Method POST
API Endpoint URL https://apis.fedex.com/track/v1/trackingnumbers

Request Body

Field Value
Format JSON
Body { "includeDetailedScans": true, "trackingInfo": [ { "shipDateBegin": "2024-01-01", "shipDateEnd": "2024-12-31", "trackingNumberInfo": { "trackingNumber": "{Tracking_Number}" } } ] }

💡 Tip: The Enrich with API step makes dynamic requests for each row in the table by inserting the tracking number in the Body field.

The example above assumes, there is a Tracking_Number column and is referenced using curly brackets: {Tracking_Number}

Enclose your column header containing tracking numbers with curly brackets to dynamically reference the tracking numbers in your table.

Request Headers

Field Value
Content-Type application/json

5. Click Refresh data to display the results.

Example Screenshot

Related Recipes