Asset Cancellation (POST)

Initiate and execute the cancellation of an asset.

To use this API, you need the InitiateCancellation API permission set.

62.0

POST

JSON Example

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
assetIdsString[]IDs of the assets that you want to cancel. All assets in a request must belong to the same price book.Required62.0
cancellation​DateStringEffective date of the cancellation.Required62.0
contract​IdStringID of the Contract record that you want to sync with the cancellation quote.Optional62.0
opportunity​IdStringID of the Opportunity record that you want to sync with the cancellation quote.Optional62.0
output​RecordIdStringID of the quote or order that you want to cancel.Optional62.0
output​RecordTypeStringType of cancellation record that you want to create.Required62.0

Cancellation