Skip to main content
Cancel shipments that have not yet been tendered to FedEx. This request cancels all packages associated with the entire shipment.
External DocumentationTo learn more, visit the FedEx documentation.

Basic Parameters

ParameterDescription
Account NumberThe FedEx account number associated with the shipment.
Deletion ControlThe packages in the shipment that should be cancelled.
Email ShipmentSelect to set the shipment as an unconfirmed email (pending) shipment.
Sender Address Country CodeThe two-letter country code associated with the Sender’s address.
Tracking NumberThe unique tracking number assigned by FedEx to the package of the shipment to be cancelled.

Advanced Parameters

ParameterDescription
Customer Transaction IDAn ID to assign to the customer transaction.
Language CodesThe language and country code to use in the request.

Example Output

{
	"customerTransactionId": "AnyCo_order123456789",
	"output": {
		"alerts": [
			{
				"alertType": "NOTE",
				"code": "SHIPMENT.VALIDATION.SUCCESS",
				"message": "Shipment validated successfully. No errors found."
			}
		],
		"cancelledHistory": true,
		"cancelledShipment": true,
		"message": "Shipment is successfully cancelled"
	},
	"transactionId": "624deea6-b709-470c-8c39-4b5511281492"
}

Workflow Library Example

Cancel Shipment with Fedex and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop