FedEx®
The module integrates Business Central with the FedEx® web services through Document Exchange. It adds FedEx as both a format and a transport that can be selected in Document Exchange Profiles, a dedicated setup page for the FedEx API credentials, and an action to request the shipping label from Shipping Agent Requests.
- Open the Document Exchange Profiles page.
- Create or select a profile and set FedEx as its format and/or transport.
- Use the Transport Setup (or Format Setup) action to open the profile's FedEx Setup page. If the setup does not exist yet, it is created automatically.
General FastTab:
| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup refers to. Not editable. |
| API Endpoint | Base address of the FedEx web services (test or production environment). |
| API Key | API key (client ID) provided by FedEx to access the services. |
| API Secret | API secret (client secret) provided by FedEx. The value is masked and stored in a protected area. |
| Shipping Agent Code | Business Central shipping agent (Shipping Agents table) that corresponds to FedEx. |
- Open a Shipping Agent Request (or the Shipping Agent Requests list).
- Use the Document Exchange action.
- Choose the Request label to option for the FedEx profile.
- On the first call, the system authenticates with FedEx using the API key and secret, stores the access token it receives and reuses it for subsequent calls.
- If the token has expired or is invalid, a new token is requested automatically and the request is repeated.
- Any error messages returned by FedEx are shown to the user.
- The FedEx profile supports sending only: document receiving functions are not available.
- Deleting the FedEx setup of a profile also deletes the stored API secret.