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
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
assetIds | String[] | IDs of the assets that you want to cancel. All assets in a request must belong to the same price book. | Required | 62.0 |
cancellationDate | String | Effective date of the cancellation. | Required | 62.0 |
contractId | String | ID of the Contract record that you want to sync with the cancellation quote. | Optional | 62.0 |
opportunityId | String | ID of the Opportunity record that you want to sync with the cancellation quote. | Optional | 62.0 |
outputRecordId | String | ID of the quote or order that you want to cancel. | Optional | 62.0 |
outputRecordType | String | Type of cancellation record that you want to create. | Required | 62.0 |