CancelDelivery
Description
The CancelDelivery() method is a way to cancel fulfillment of a letter still not delivered to the postal service. Cancellation may take up to a few minutes to succeed. If funds were deducted from the account, they will be refunded immediately.
Formal Definition
https://api.postalmethods.com/PostalWS.asmx?op=CancelDelivery
Input
| Property | Type | Comments |
|---|---|---|
| Username | String | As provided during registration |
| Password | String | As provided during registration |
| ID | int | Matches the ID provided as the response to the original Web Service request. |
Output: CancelDeliveryResponse
Structure: CancelDeliveryResult
| Element | Type | Comments |
|---|---|---|
| CancelDeliveryResult | int | Result code for this Web Service request. Possible result codes appear in the Web Service Result Codes list |
