AgreementService / Client / accept_agreement_request
accept_agreement_request¶
- AgreementService.Client.accept_agreement_request(**kwargs)¶
Accepts an agreement request to finalize the agreement. The acceptor can optionally provide purchase orders to associate with the agreement charges.
See also: AWS API Documentation
Request Syntax
response = client.accept_agreement_request( agreementRequestId='string', purchaseOrders=[ { 'chargeId': 'string', 'chargeRevision': 123, 'agreementId': 'string', 'purchaseOrderReference': 'string' }, ] )
- Parameters:
agreementRequestId (string) –
[REQUIRED]
The unique identifier of the agreement request.
purchaseOrders (list) –
A list of purchase orders associated with accepting a marketplace agreement request.
(dict) –
Contains information about a purchase order association to a charge within an agreement.
chargeId (string) – [REQUIRED]
The unique identifier of the charge to associate the purchase order with.
chargeRevision (integer) –
The revision of the charge.
agreementId (string) –
The unique identifier of the agreement associated with this charge.
purchaseOrderReference (string) –
The purchase order reference to associate with the charge.
- Return type:
dict
- Returns:
Response Syntax
{ 'agreementId': 'string' }
Response Structure
(dict) –
agreementId (string) –
The unique identifier of the agreement created or modified by accepting the agreement request.
Exceptions