FedEx
Overview
FedEx Corporation is an American multinational company that deals with shipping & delivery services and supply chain management. It provides customers and businesses worldwide with a broad portfolio of transportation, e-commerce, and business services. FedEx has various business segments, but PitneyBowes -SendTech Solutions trades with FedEx Express. FedEx Express enables its customers to ship, track, deliver, and manage their accounts.
Onboarding of a FedEx Carrier Account
To register a FedEx carrier account, the user must have the following essentials:
- Account Number
- Account Address
- Contact Address (This is required in case if the Contact Address and Account Address are different.)
- HubID (This is required in case if the FedEx SmartPost Account, also known as FedEx Ground Economy, is created. SmartPost or Ground Economy will be discussed comprehensively in further section.)
To onboard a FedEx carrier account, an API request call is made, that covers all the essentials. Below is the Sample Request.
{
"accountNumber": "XXXXXXX",
"carrierID": "FEDEX",
"description": "FedEx by API",
"carrierAccountType": "Shipping",
"provisioningType": "API",
"parameters": {
"accountAddress": {
"company": "Pitney Bowes",
"name": "Mara Graham",
"phone": "2037963184",
"email": "horizon_engpp11@mailinator.com",
"addressLine1": "27 Waterview Dr",
"city": "Shelton",
"state": "CT",
"postalCode": "06484",
"countryCode":"US"
},
"contactAddress": {
"company": "Pitney Bowes",
"name": "Ankur Verma",
"phone": "9788888888",
"email": "ankur.verma@pb.com",
"addressLine1": "27 Waterview Dr",
"city": "Danbury",
"state": "CT",
"postalCode": "06810",
"countryCode":"US"
}
}
}
{
"accountNumber": "602633446",
"carrierID": "FEDEX",
"description": "FedEx by API",
"carrierAccountType": "Shipping",
"provisioningType": "API",
"parameters": {
"accountAddress": {
"company": "Pitney Bowes",
"name": "Mara Graham",
"phone": "2037963184",
"email": "mara.graham@mailinator.com",
"addressLine1": "5985 Explorer DR",
"city": "Mississauga",
"state": "ON",
"postalCode": "L4W5K6",
"countryCode":"CA"
},
"isGCSDisabled":true,
"username":"2BCEeLcvhWxOQnvE",
"password":"n0B7CvSP0AevRDm0aa7cpYgNc"
}
}
If the request to onboard the FedEx carrier account is successful, the response will look like the below Sample Response.
{
"carrierAccountID": "WLaPVRw7Rem",
"accountNumber": "XXXXXXX",
"carrierID": "FEDEX",
"description": "FedEx by API",
"carrierAccountType": "Shipping",
"provisioningType": "API",
"parameters": {
"accountAddress": {
"company": "Pitney Bowes",
"name": "Mara Graham",
"phone": "2037963184",
"email": "horizon_engpp11@mailinator.com",
"addressLine1": "27 Waterview Dr",
"city": "Shelton",
"state": "CT",
"postalCode": "06484",
"countryCode":"US"
},
"contactAddress": {
"company": "Pitney Bowes",
"name": "Ankur Verma",
"phone": "9788888888",
"email": "ankur.verma@pb.com",
"addressLine1": "27 Waterview Dr",
"city": "Danbury",
"state": "CT",
"postalCode": "06810",
"countryCode":"US"
}
},
"carrierAccountType": "Shipping",
"provisioningType": "API"
}
{
"carrierAccountID": "xvJ2AAxEjnE",
"description": "FedEx by API",
"carrierID": "FEDEX",
"accountNumber": "602633446",
"parameters": {
"accountAddress": {
"addressLine1": "5985 Explorer DR",
"city": "Mississauga",
"company": "Pitney Bowes",
"countryCode": "CA",
"email": "horizon_engpp11@mailinator.com",
"name": "Mara Graham",
"phone": "2037963184",
"postalCode": "L4W5K6",
"state": "ON"
},
"isGCSDisabled": true,
"meterNumber": "123",
"username": "test"
},
"carrierAccountType": "Shipping",
"provisioningType": "API"
}
API Operations for Shipping with FedEx
The APIs integrate with FedEx through the following operations:
Operations | Method | Resource Path |
---|---|---|
Add a Carrier Account | POST | /api/v1/carrierAccounts |
Rate a Parcel | POST | /api/v1/rates |
Create a Shipping Label | POST | /api/v1/shipments |
Reprint a Label | GET | /api/v1/shipments/{{shipmentId}}/reprint |
Void a Label | PUT | /api/v1/shipments/{{shipmentId}}/cancel |
Get Tracking Information | GET | /api/v1/tracking/{{trackingNumber}} |
FedEx also supports
shipmentByRateShop
operations:Operations | Method | Resource Path |
---|---|---|
Create a Shipping Label | POST | /api/v2/shipments |
Reprint a Label | POST | /api/v2/shipments/reprint |
Void a Label | POST | /api/v2/shipments/cancel |
Metadata
Metadata provides information about FedEx carrier services, including origin and destination countries, supported carrier services, supported package types, and supported special services. Users can select specific origin and destination countries from the provided dropdown menu to dynamically view relevant metadata specific to those countries.