v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1425213171.1 KB

Allows buyers (acceptors) to accept a cancellation request that is in PENDING_APPROVAL status. Once accepted, the cancellation request transitions to APPROVED status and the agreement cancellation will be processed.

Only cancellation requests in PENDING_APPROVAL status can be accepted. A ConflictException is thrown if the cancellation request is in any other status.

post/#X-Amz-Target=AWSMPCommerceService_v20200301.AcceptAgreementCancellationRequest

Headers

X-Amz-Target'AWSMPCommerceService_v20200301.AcceptAgreementCancellationRequest' required

Request body

agreementIdstring required

The unique identifier of the agreement associated with the cancellation request.

agreementCancellationRequestIdstring required

The unique identifier of the cancellation request to accept.

Response

Success

agreementIdstring

The unique identifier of the agreement associated with this cancellation request.

agreementCancellationRequestIdstring

The unique identifier of the accepted cancellation request.

status'PENDING_APPROVAL' | 'APPROVED' | 'REJECTED' | 'CANCELLED' | 'VALIDATION_FAILED'

The updated status of the cancellation request, which is <code>APPROVED</code>.

reasonCode'INCORRECT_TERMS_ACCEPTED' | 'REPLACING_AGREEMENT' | 'TEST_AGREEMENT' | 'ALTERNATIVE_PROCUREMENT_CHANNEL' | 'PRODUCT_DISCONTINUED' | 'UNINTENDED_RENEWAL' | 'BUYER_DISSATISFACTION' | 'OTHER'

The original reason code provided when the cancellation request was created.

descriptionstring password

The detailed description of the cancellation reason, if provided.

createdAtstring date-time

The date and time when the cancellation request was originally created.

updatedAtstring date-time

The date and time when the cancellation request was accepted.

All 25 operations