CancelDelivery

Description

The CancelDelivery() method is a way to cancel the production of a letter or a postcard. Cancellation depends on the current status of the mail item and may not always succeed. Cancellation may take up to a few minutes. If funds were deducted from the account, they are refunded immediately.

Formal Definition

https://api.postalmethods.com/2009-02-26/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