Skip to main content

FedEx

Using this plugin, you can integrate FedEx shipping and tracking services directly into your ToolJet apps to fetch shipment details, create shipping labels, track package status, and calculate rates, etc.

Connection

To connect the FedEx plugin to your ToolJet app, you’ll need the following credentials:

  • Client ID
  • Client Secret

If you’re a FedEx® Internal, Compatible, or Integrator Customer or a FedEx® Proprietary Parent/Child Customer, you’ll also need:

  • Child Key
  • Child Secret

Follow this to generate the required credentials from the FedEx Developer Portal.

Marketplace: FedEx

Supported Operation

Address Validation

MethodAPI EndpointDescription
POST/address/v1/addresses/resolveValidate and resolve addresses, returning standardized or corrected address information.

Ground End of Day Close

MethodAPI EndpointDescription
POST/ship/v1/endofday/Create End of Day Close – submit shipping data to FedEx to close out the day’s shipments.
PUT/ship/v1/endofday/Modify End of Day Close – update or modify an existing End of Day Close request.

Ship Consolidation

MethodAPI EndpointDescription
POST/ship/v1/consolidation/Create Consolidation – create a new consolidation request.
PUT/ship/v1/consolidation/Modify Consolidation – update an existing consolidation request.
POST/ship/v1/consolidation/shipmentsAdd Shipments to Consolidation – add one or more shipments to an existing consolidation.
POST/ship/v1/consolidation/resultsRetrieve Consolidation Results – get processing results for a consolidation.
POST/ship/v1/consolidation/confirmationsSubmit Consolidation Confirmation – confirm consolidated shipments.
POST/ship/v1/consolidation/confirmationresultsRetrieve Consolidation Confirmation Results – check confirmation status.
POST/ship/v1/consolidation/retrieveRetrieve Consolidation – fetch an existing consolidation by ID.
PUT/ship/v1/consolidation/shipments/deleteDelete Shipment(s) from Consolidation – remove shipment(s) from an existing consolidation.
PUT/ship/v1/consolidation/deleteDelete Consolidation – delete an entire consolidation record.

Open Ship

MethodAPI EndpointDescription
POST/ship/v1/openshipments/createCreate Open Shipment – initiate a new open shipment record.
PUT/ship/v1/openshipments/Update Open Shipment – modify an existing open shipment record.
POST/ship/v1/openshipments/Create or Submit Open Shipment – submit details to create or finalize an open shipment.
PUT/ship/v1/openshipments/packagesUpdate Package(s) in Open Shipment – modify package details in an open shipment.
POST/ship/v1/openshipments/packagesAdd Package(s) to Open Shipment – add new packages to an existing open shipment.
PUT/ship/v1/openshipments/packages/deleteDelete Package(s) – remove package(s) from an open shipment.
POST/ship/v1/openshipments/packages/retrieveRetrieve Package(s) – get package details from an open shipment.
PUT/ship/v1/openshipments/deleteDelete Open Shipment – delete an entire open shipment record.
POST/ship/v1/openshipments/retrieveRetrieve Open Shipment – fetch an existing open shipment record by ID.
POST/ship/v1/openshipments/resultsRetrieve Open Shipment Results – get processing results for an open shipment.

Pickup

MethodAPI EndpointDescription
POST/pickup/v1/pickupsCreate Pickup – create a pickup request for a package.
POST/pickup/v1/pickups/availabilitiesCheck Pickup Availability – retrieve available pickup dates, times, or slots for a location.
PUT/pickup/v1/pickups/cancelCancel Pickup – cancel an existing pickup request.

Postal Code Validation

MethodAPI EndpointDescription
POST/country/v1/postal/validate/Validate Postal Code – validate and resolve postal/ZIP codes and return standardized or corrected information.

Rates and Transit Times

MethodAPI EndpointDescription
POST/rate/v1/rates/quotesRetrieve Rates and Transit Times – get FedEx shipping rate quotes and optional transit time estimates for given shipment details.

Ship

MethodAPI EndpointDescription
POST/ship/v1/shipmentsCreate Shipment – create a new shipment, generate label, tracking number, and shipment details.
PUT/ship/v1/shipments/cancelCancel Shipment – cancel an existing shipment.
POST/ship/v1/shipments/resultsRetrieve Shipment Results – get processing results or labels for a shipment.
POST/ship/v1/shipments/packages/validateValidate Packages – validate package details before creating a shipment.
POST/ship/v1/shipments/tagCreate Shipment Tag – create a shipment tag for a return or pickup request.
PUT/ship/v1/shipments/tag/cancel/{shipmentid}Cancel Shipment Tag – cancel a previously created shipment tag.

Tracking (Basic Integrated Visibility)

MethodAPI EndpointDescription
POST/track/v1/associatedshipmentsRetrieve Associated Shipments – fetch shipments linked to a master or related tracking number.
POST/track/v1/notificationsCreate Tracking Notifications – set up or retrieve shipment tracking notifications.
POST/track/v1/referencenumbersTrack by Reference Number – retrieve shipment tracking details using reference numbers.
POST/track/v1/tcnTrack by TCN – retrieve tracking details using the Transportation Control Number (TCN).
POST/track/v1/trackingdocumentsRetrieve Tracking Documents – get proof-of-delivery documents or other shipment tracking docs.
POST/track/v1/trackingnumbersTrack by Tracking Number – retrieve shipment status using FedEx tracking numbers.

Trade Documents Upload

MethodAPI EndpointDescription
POST/documents/v1/etds/uploadUpload eTDS Document – upload a single electronic trade document (ETD) to FedEx.
POST/documents/v1/lhsimages/uploadUpload LHS Image – upload a label or image for LHS processing.
POST/documents/v1/etds/multiuploadUpload Multiple eTDS Documents – upload multiple ETDs in one request.
POST/documents/v1/etds/encodedmultiuploadUpload Base64 Encoded eTDS Documents – upload multiple Base64 encoded ETDs in one request.
MethodAPI EndpointDescription
POST/location/v1/locationsFind Locations – search for nearest FedEx locations by address, geographic coordinates, or phone number; optionally filter by location type and services offered.

LTL Freight

MethodAPI EndpointDescription
POST/rate/v1/freight/rates/quotesRetrieve Freight LTL Rates – get FedEx LTL freight rate quotes and optional transit time estimates.
POST/ship/v1/freight/shipmentsCreate Freight LTL Shipment – create a new FedEx LTL freight shipment.
POST/pickup/v1/freight/pickups/availabilitiesCheck Freight Pickup Availability – retrieve available pickup slots for LTL freight.
POST/pickup/v1/freight/pickups/Create Freight Pickup – create a pickup request for an LTL freight shipment.
PUT/pickup/v1/freight/pickups/cancel/Cancel Freight Pickup – cancel an existing LTL freight pickup request.

Service Availability

MethodAPI EndpointDescription
POST/availability/v1/transittimesRetrieve Services and Transit Times – get estimated transit times for a particular shipment.
POST/availability/v1/packageandserviceoptionRetrieve Package and Service Options – get available package types and shipping services for a given origin and destination.
POST/availability/v1/specialserviceoptionsRetrieve Special Service Options – get special service options (such as Saturday delivery, signature options, etc.) available for a shipment.

Example Queries

Validating an Address

Operation: POST /address/v1/addresses/resolve

Required Parameters

  • addressesToValidate

Optional Parameters

  • EffectAsOfTimestamp
  • validateAddressControlParameters

Sample Input

{{[
{
"address": {
"streetLines": ["942 Test Street"],
"city": "Memphis",
"stateOrProvinceCode": "TN",
"postalCode": "38120",
"countryCode": "US"
}
}
]}}
Query Response Example
{
"isLoading": false,
"data": {
"transactionId": "APIF_SV_ADVC_TxID3c9aa161-bc90-459e-87f9-b74ba6e18862",
"output": {
"alerts": [
{
"code": "VIRTUAL.RESPONSE",
"message": "This is a Virtual Response.",
"alertType": "NOTE"
}
],
"resolvedAddresses": [
{
"streetLinesToken": [
"942 TEST STREET"
],
"city": "Memphis",
"stateOrProvinceCode": "Región Metropolitana de Santia",
"postalCode": "38120",
"parsedPostalCode": {
"base": "38120"
},
"countryCode": "CL",
"classification": "UNKNOWN",
"ruralRouteHighwayContract": false,
"generalDelivery": false,
"customerMessages": [],
"normalizedStatusNameDPV": false,
"standardizedStatusNameMatchSource": "Postal",
"resolutionMethodName": "GENERIC_VALIDATE",
"attributes": {
"POBox": "false",
"SuiteRequiredButMissing": "false",
"StreetPointNotApplicable": "false",
"InvalidSuiteNumber": "false",
"ResolutionInput": "RAW_ADDRESS",
"ResolutionMethod": "GENERIC_VALIDATE",
"DataVintage": "February 2023",
"MatchSource": "Postal",
"CountrySupported": "true",
"ValidlyFormed": "true",
"Matched": "true",
"StreetOrganizationAddress": "false",
"MissingOrAmbiguousDirectional": "false",
"StreetNameAddress": "false",
"StreetPointNotValidated": "true",
"Inserted": "false",
"RuralRoute": "false",
"PostalDataSource": "Correos de Chile (Chile Postal Authority)",
"InterpolatedStreetAddress": "false",
"MultiUnitBase": "false",
"StreetBuildingAddress": "false",
"StreetRange": "false",
"UniqueZIP": "false",
"StreetAddress": "false",
"RRConversion": "false",
"SuiteNotValidated": "false",
"ValidMultiUnit": "false",
"AddressType": "STANDARDIZED",
"AddressPrecision": "StreetName",
"MultipleMatches": "false"
}
}
]
}
},
"rawData": {
"transactionId": "APIF_SV_ADVC_TxID3c9aa161-bc90-459e-87f9-b74ba6e18862",
"output": {
"alerts": [
{
"code": "VIRTUAL.RESPONSE",
"message": "This is a Virtual Response.",
"alertType": "NOTE"
}
],
"resolvedAddresses": [
{
"streetLinesToken": [
"942 TEST STREET"
],
"city": "Memphis",
"stateOrProvinceCode": "Región Metropolitana de Santia",
"postalCode": "38120",
"parsedPostalCode": {
"base": "38120"
},
"countryCode": "CL",
"classification": "UNKNOWN",
"ruralRouteHighwayContract": false,
"generalDelivery": false,
"customerMessages": [],
"normalizedStatusNameDPV": false,
"standardizedStatusNameMatchSource": "Postal",
"resolutionMethodName": "GENERIC_VALIDATE",
"attributes": {
"POBox": "false",
"SuiteRequiredButMissing": "false",
"StreetPointNotApplicable": "false",
"InvalidSuiteNumber": "false",
"ResolutionInput": "RAW_ADDRESS",
"ResolutionMethod": "GENERIC_VALIDATE",
"DataVintage": "February 2023",
"MatchSource": "Postal",
"CountrySupported": "true",
"ValidlyFormed": "true",
"Matched": "true",
"StreetOrganizationAddress": "false",
"MissingOrAmbiguousDirectional": "false",
"StreetNameAddress": "false",
"StreetPointNotValidated": "true",
"Inserted": "false",
"RuralRoute": "false",
"PostalDataSource": "Correos de Chile (Chile Postal Authority)",
"InterpolatedStreetAddress": "false",
"MultiUnitBase": "false",
"StreetBuildingAddress": "false",
"StreetRange": "false",
"UniqueZIP": "false",
"StreetAddress": "false",
"RRConversion": "false",
"SuiteNotValidated": "false",
"ValidMultiUnit": "false",
"AddressType": "STANDARDIZED",
"AddressPrecision": "StreetName",
"MultipleMatches": "false"
}
}
]
}
},
"id": "5320b5cf-0ac0-4d90-b407-8d6f32018fc2"
}
Marketplace: FedEx

Creating a Rate Quote

Operation: POST /rate/v1/rates/quotes

Required Parameters

  • requesedShipment

Optional Parameter

  • accountNumber
  • rateRequestControlParameters
  • carrierCodes

Sample Input

{{{
"shipper": {
"address": {
"postalCode": "65247",
"countryCode": "US"
}
},
"recipient": {
"address": {
"postalCode": "72348",
"countryCode": "US"
}
},
"pickupType": "DROPOFF_AT_FEDEX_LOCATION",
"rateRequestType": [
"ACCOUNT",
"LIST"
],
"requestedPackageLineItems": [
{
"weight": {
"units": "LB",
"value": "10"
}
}
]
}}}
Query Response Example
{
"isLoading": false,
"data": {
"transactionId": "0c547414-a28d-45a8-88a5-7d47e5542df1"
},
"rawData": {
"transactionId": "0c547414-a28d-45a8-88a5-7d47e5542df1"
},
"id": "5320b5cf-0ac0-4d90-b407-8d6f32018fc2"
}
Marketplace: FedEx