Requirements
In order to add FedEx Ground Economy as a carrier in EasyPost, you need to already have an account established with FedEx. You can sign up for a FedEx account here. Then you need to verify with your FedEx Account Manager that your FedEx account is set up as a small shipper and enabled for FedEx Ground Economy.
You will need the following information from FedEx:
- FedEx Ground Economy Account Number
- FedEx Ground Economy Hub ID
- FedEx Ground Economy Account Billing Address
Register Your FedEx SmartPost Account With EasyPost
Once you obtain these credentials you can use them to create a FedEx Ground Economy account on the EasyPost Carriers Account Page. Additional guidance on this can be found in our Adding a Carrier guide.
However, if you wish to add this via API, this is currently only supported via cURL requests and our V6 and higher .NET Library. Here is what that would look like via cURL requests:
curl -X POST https://api.easypost.com/v2/carrier_accounts/register \ -u "PRODUCTION API KEY GOES HERE": \ -H 'Content-Type: application/json' \ -d '{ "carrier_account": { "type": "FedexSmartpostAccount", "description": "Test Account", "reference": "my-reference", "registration_data": { "account_number": "", "hub_id": "", "shipping_streets": "", "shipping_city": "", "shipping_state": "", "shipping_postal_code": "", "shipping_country_code": "", "corporate_first_name": "", "corporate_last_name": "", "corporate_job_title": "", "corporate_company_name": "", "corporate_phone_number": "", "corporate_email_address": "", "corporate_streets": "", "corporate_city": "", "corporate_state": "", "corporate_postal_code": "", "corporate_country_code": "" } } }'
This is what it would look like for our .NET Library:
using Newtonsoft.Json; using EasyPost.Models.API; namespace EasyPostExamples { public class Examples { public static async Task Main() { var client = new EasyPost.Client(new EasyPost.ClientConfiguration("")); EasyPost.Parameters.CarrierAccount.CreateFedExSmartPost fedExSmartPostParameters = new EasyPost.Parameters.CarrierAccount.CreateFedExSmartPost() { Description = "", AccountNumber = "", HubId = "", ShippingAddressStreet = "", ShippingAddressCity = "", ShippingAddressState = "", ShippingAddressPostalCode = "", ShippingAddressCountryCode = "", CorporateFirstName = "", CorporateLastName = "",
CorporateCompanyName = "", CorporateJobTitle = "", CorporatePhoneNumber = "", CorporateEmailAddress = "", CorporateAddressStreet = "", CorporateAddressCity = "", CorporateAddressState = "", CorporateAddressPostalCode = "", CorporateAddressCountryCode = "" }; CarrierAccount fedExSmartPostCarrierAccount = await client.CarrierAccount.Create(fedExSmartPostParameters); Console.WriteLine(JsonConvert.SerializeObject(fedExSmartPostCarrierAccount, Formatting.Indented)); } } }
Note: To use FedEx Ground Economy Returns this must be enabled on the FedEx side, you'll need to contact your FedEx Account Manager to be enabled. There is also a feature flag for FedEx Ground Economy Returns on the EasyPost side that must be enabled. Please contact support@easypost.com to have this flag enabled.
What is my Hub ID?
Your FedEx Ground Economy hub ID is a numerical ID number that corresponds with the nearest FedEx Ground Economy processing hub location to you. EasyPost requires that you enter a hub ID into the credentials in order to generate labels for FedEx Ground Economy..
If you do not know your hub ID, you can find it below:
Location | Code |
HQ – Brookfield, WI | 5531 |
Allentown, PA | 5185 |
Atlanta, GA | 5303 |
Avenel, NJ | Peak Annex |
Baltimore, MD | 5213 |
Charlotte, NC | 5281 |
Chino, CA | 5929 |
Dallas, TX | 5751 |
Denver, CO | 5802 |
Detroit, MI | 5481 |
Edison, NJ | 5087 |
Grove City, OH | 5431 |
Grove Port, OH | 5436 |
Houston, TX | 5771 |
Indianapolis, IN | 5465 |
Kansas City, KS | 5648 |
Los Angeles, CA | 5902 |
Martinsburg, WV | 5254 |
Memphis, TN | 5379 |
Minneapolis, MN | 5552 |
New Berlin, WI | 5531 |
Northborough, MA | 5015 |
Orlando, FL | 5327 |
Phoenix, AZ | 5854 |
Pittsburgh, PA | 5150 |
Reno, NV | 5893 |
Sacramento, CA | 5958 |
Salt Lake City, UT | 5843 |
Seattle, WA | 5983 |
Scranton, PA | 5186 |
South Brunswick, NJ | 5097 |
St. Louis, MO | 5631 |
Wheeling, IL | 5602 |
Windsor, CT | 5061 |