PickupAvailability Method
Checks the availability of the courier dispatch service for the given address.
Syntax
int PickupAvailability();
Remarks
The PickupAvailability method requires the values for the following properties:
- PickupServiceType (required)
- ShipDate (optional)
- ShipTime (optional)
- CompanyCloseTime (optional)
- SenderAddress1 (required)
- SenderCity (optional)
- SenderState (optional)
- SenderZipCode (required)
- SenderCountryCode (required)
- Packages (optional)
- TotalWeight (optional)
Valid values for PickupServiceType are FDXE (FedEx Express) or FDXG (FedEx Ground).
The Packages property may optionally be populated with dimensions such as PackageLength, PackageWidth, and PackageHeight.
If the Carrier Pickup service is available to the supplied address, the following properties will be returned. These properties indicate the earliest available pickup date and the carrier route that will be picking up your packages: