AgreementService / Client / update_purchase_orders

update_purchase_orders

AgreementService.Client.update_purchase_orders(**kwargs)

Allows acceptors to associate purchase orders with agreement charges after an agreement is created.

See also: AWS API Documentation

Request Syntax

response = client.update_purchase_orders(
    purchaseOrders=[
        {
            'chargeId': 'string',
            'chargeRevision': 123,
            'agreementId': 'string',
            'purchaseOrderReference': 'string'
        },
    ]
)
Parameters:

purchaseOrders (list) –

[REQUIRED]

Contains information about purchase order associations.

  • (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

{}

Response Structure

  • (dict) –

Exceptions

  • AgreementService.Client.exceptions.ValidationException

  • AgreementService.Client.exceptions.AccessDeniedException

  • AgreementService.Client.exceptions.ResourceNotFoundException

  • AgreementService.Client.exceptions.ThrottlingException

  • AgreementService.Client.exceptions.InternalServerException

  • AgreementService.Client.exceptions.ConflictException