Shipment Delete Request

Function allows you to void/delete a previously created shipment. The shipment and shipping label must have been previously created using the ShipRequest function and the shipment must not have been shipped yet.

Function ShipDeleteRequest
Output Type No variables are returned other then the error variables below indicating whether the request was successful or not
Error Capture Variables FedexError
- 0 = Success
- 1 = Failure
- 2 = Hard Error (configuration problem)

FedexErrorDesc
(contains description of error if present)
Test Environment Available Yes
Example Usage

INSTALLED AS A CUSTOM TAG
<cf_adminpro_fedexxml
function="ShipDeleteRequest"
accountnumber="your-fedex-account-number"
fedexindentifier="your-fedex-identifier"
trackingnumber="123456789012"
RateRequestType="FDXE"
>

*Note to use as a custom tag you must install the tool in your ColdFusion server CustomTags directory or have it present in the directory you are calling it from.

CFMODULE
<cfmodule template="adminpro_fedexxml.cfm"
function="ShipDeleteRequest"
accountnumber="your-fedex-account-number"
fedexindentifier="your-fedex-identifier"
trackingnumber="123456789012"
RateRequestType="FDXE"
>

Supplied Example Files n/a


Shipment Delete Request (With Full Activity)
Input Attributes (attributes that can be passed to the custom tag with a valid value)
Attribute Name Required Preset value/value list Default Value Restrictions Explanation/Notes
AccountNumber Yes   NO VALUE Your active Fedex account number Your Fedex account number you use for shipping
FedexIndentifier Yes   NO VALUE Your Fedex meter number Your Fedex meter number, received either from Fedex or by running the RegisterRequest function.
TrackingNumber Yes   NO VALUE   Valid Fedex tracking number, Must be alphanumeric characters with no spaces and must be a current shipment not yet picked up by Fedex.
RateRequestType Yes FDXE (Express)
FDXG (Ground)
FDXE   Service type (Federal Express service level/s or Fedex Ground)

Shipment Delete Request - Output
Response Failure Variables
FedexError Yes [0 (Successful transaction, shipment was deleted), 1 (Error from Fedex based on request), 2 (Hard Error, error with request that could not be handled by Fedex, check attributes passed are valid)]
FedexErrorDesc Yes Description of error received