Cancellation Input

Input representation of the details of the request to cancel a quote or an order.

JSON Example 

1{
2  "assetIds": [
3    "02iSG0000003NMhYAM",
4    "02iSG0000006DvSYAU"
5  ],
6  "cancellationDate": "2023-10-04T00:00:00",
7  "contractId": "800SG00000CFpepYAD",
8  "opportunityId": "006SG000004W5tVYAS",
9  "outputRecordId": "801SG00000DX1jWYAT",
10  "outputRecordType": "Quote"
11}

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