> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Pickup

Cancel an already scheduled FedEx pickup request. A failure notification will be sent if the courier has already been dispatched.

<Note>
  External Documentation

  To learn more, visit the [FedEx documentation](https://developer.fedex.com/api/en-us/catalog/pickup/v1/docs.html#operation/Cancel%20Pickup).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter                | Description                                                                   |
  | ------------------------ | ----------------------------------------------------------------------------- |
  | Account Number           | The FedEx account number associated with the shipment.                        |
  | Pickup Confirmation Code | The unique confirmation code provided by FedEx when the pickup was scheduled. |
  | Scheduled Date           | The date when the pickup was originally scheduled.                            |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Additional Parameters   | A JSON object for additional body parameters. Values specified in this parameter will override equivalent parameters.<br /><br />For example:<br /><pre><code>\{<br />    "first\_key": 12345,<br />    "second\_key": "some\_value"<br />}</code></pre>The object must follow the vendor's structure as defined in the [API documentation](https://developer.fedex.com/api/en-us/catalog/pickup/v1/docs.html#operation/Cancel%20Pickup). |
  | Customer Transaction ID | An ID to assign to the customer transaction.                                                                                                                                                                                                                                                                                                                                                                                              |
  | Language Codes          | The language and country code to use in the request.                                                                                                                                                                                                                                                                                                                                                                                      |
</div>

## Example Output

```json theme={"dark"}
{
	"customerTransactionId": "AnyCo_order123456789",
	"output": {
		"alerts": [
			{
				"alertType": "NOTE",
				"code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH",
				"message": "Recipient Postal-City Mismatch."
			}
		],
		"cancelConfirmationMessage": "Requested pickup has been cancelled Successfully.",
		"pickupConfirmationCode": "NQAA97"
	},
	"transactionId": "624deea6-b709-470c-8c39-4b5511281492"
}
```

## Workflow Library Example

[Cancel Pickup with Fedex and Send Results Via Email](https://library.blinkops.com/workflows/cancel-pickup-with-fedex-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/cancel-pickup-with-fedex-and-send-results-via-email/canvas" />
</div>
