getAgreementCancellationRequest

Retrieves detailed information about a specific agreement cancellation request. Both sellers (proposers) and buyers (acceptors) can use this operation to view cancellation requests associated with their agreements.

The calling identity must be either the acceptor or proposer of the agreement. A ResourceNotFoundException is returned if the cancellation request does not exist.

Samples


fun main() { 
   //sampleStart 
   // Get a cancellation request
val resp = marketplaceAgreementClient.getAgreementCancellationRequest {
    agreementId = "agmt-752jqvg74yo7k"
    agreementCancellationRequestId = "acr-sgew33rhsds"
} 
   //sampleEnd
}