For the complete documentation index, see llms.txt. This page is also available as Markdown.

FedEx

Courier field limitations

Field
Limitation

ddt_alpha

Max 40 char

rcpt_addr

Max 35 char

rcpt_cap

Max 10 char

rcpt_city

Max 30 char

rcpt_country_code

Max 2 char

rcpt_name

Max 35 char

rcpt_prov

Max 2 char

Gsped code list

Service
Courier code
Service code
addParcel (pasgo)
Notes

Priority Overnight

20
0

true

Domestic

First

20
1

true

Domestic

Priority Express

20
2

true

Domestic

Priority

20
3

true

Domestic

Priority Express Freight

20
4

true

Domestic

Priority Freight

20
5

true

Domestic

International Priority Express

20
6

true

International

International Priority Freight

20
7

false

International

International Priority

20
8

true

International

International Connect Plus

20
9

true

International

International Economy

20
10

true

International

International Economy Freight

20
11

false

International

International First

20
12

false

International

Regional Economy

20
16

true

International

Regional Economy Freight

20
17

true

International

International Deferred Freight

20
19

false

international

ICS2

For non-domestic shipments the courier requires the following to be set:

Trade documents

Available in calls: POST and PATCH

Export Compliance Statement

This field lets you enter an AES number/statement, allowing the user to confirm shipments from the US abroad with a customs value above 2500 dollars.

Shipment to a residential area

You can tell FedEx that you are shipping to a residential address

Recipient identifier for customs

Field used to pass FedEx a sender identifier for customs shipments

The possible type values and their corresponding value are the following:

type
value

PASSPORT

Recipient's passport number

INDIVIDUAL

Recipient's tax code

COMPANY

Recipient's VAT number

Forcing tins for the shipper

Possible values for tinType:

  • BUSINESS_NATIONAL

  • BUSINESS_STATE

  • BUSINESS_UNION

  • PERSONAL_NATIONAL

  • PERSONAL_STATE

Forcing rateRequestType

Possible values:

  • LIST

  • INCENTIVE

  • ACCOUNT

  • PREFERRED

  • RETAIL

Default: ACCOUNT

dangerousGoods details

Possible values:

field
values

accessibility

ACCESSIBLE/INACCESSIBLE

cargoAircraftOnly

true/false

Booking confirmation number (Freight services)

The fedex_booking_confirmation field lets you pass FedEx the booking confirmation number provided by the courier for shipments with Freight services.

The field is not enabled by default: to use it, contact Gsped support.

Document handling

For some destinations you must attach customs documents to the shipment.

Uploading electronic documents when creating the shipment

The preferred solution, whenever possible, is to add the trade_documents section to the shipment POST

Uploading electronic documents later

If you want to attach the electronic documents later, you can do so by adding the following parameter in the Shipment POST.

See the dedicated page here:

https://apidocs.gsped.com/gsped-api-english-version/spedizioni-e-dintorni/shipment/shipment-objects/courierdata/uploaddocafterwards

With this parameter, if ETDs are required the shipment is created anyway, but you absolutely must upload the documents through the shipment PATCH. Without uploading the documents, the goods may be held at customs.

Adding documents in paper format

Not recommended, but if unavoidable contact support to enable the feature.