listAgreementCancellationRequests
inline suspend fun MarketplaceAgreementClient.listAgreementCancellationRequests(crossinline block: ListAgreementCancellationRequestsRequest.Builder.() -> Unit): ListAgreementCancellationRequestsResponse
Lists agreement cancellation requests available to you as a seller or buyer. Both sellers (proposers) and buyers (acceptors) can use this operation to find cancellation requests by specifying their party type and applying optional filters.
PartyType is a required parameter. A ValidationException is returned if PartyType is not provided. Pagination is supported through maxResults (1-50, default 20) and nextToken parameters.
Samples
fun main() {
//sampleStart
// List cancellation requests
val resp = marketplaceAgreementClient.listAgreementCancellationRequests {
partyType = "Proposer"
maxResults = 10
}
//sampleEnd
}