sendAgreementCancellationRequest
abstract suspend fun sendAgreementCancellationRequest(input: SendAgreementCancellationRequestRequest): SendAgreementCancellationRequestResponse
Allows sellers (proposers) to submit a cancellation request for an active agreement. The cancellation request is created in PENDING_APPROVAL status, at which point the buyer can review it.
Samples
// Send a cancellation request
val resp = marketplaceAgreementClient.sendAgreementCancellationRequest {
agreementId = "agmt-752jqvg74yo7k4h56cakk6396"
reasonCode = AgreementCancellationRequestReasonCode.fromValue("OTHER")
description = "Due to budget constraints, we are unable to continue with our current subscription"
clientToken = "53nQSKWt6AjrsiZPhzQyZT"
}Content copied to clipboard