Skip to main content

tenderUpdatePayment

Update payment information for an existing tender.

Modifies payment methods, terms, and processing details for the tender. Changes affect how the tender will be paid for when processed into an order.

Possible errors:

  • TENDER_NOT_FOUND: Tender with the specified ID does not exist
  • TENDER_UPDATE_PAYMENT_ERROR: Failed to update the tender payment
  • TENDER_PAYMENT_STATUS_UPDATE_ERROR: Failed to update payment status
  • FORBIDDEN: Insufficient permissions to update tenders

AUTH: Role=[order.OWNER,order.EDITOR]

tenderUpdatePayment(
id: String!
input: TenderPaymentInput!
): Tender!

Arguments

tenderUpdatePayment.id ● String! non-null scalar

Unique identifier of the tender to update payment for.

Must be a valid string representing an existing tender in the system.

tenderUpdatePayment.input ● TenderPaymentInput! non-null input

Payment information including method, terms, and processing details.

Contains payment configuration to be applied to the tender for order processing.

Type

Tender object

Comprehensive tender entity representing a potential order in the system.

Tenders are draft orders that contain all necessary information for order processing including customer details, items, pricing, addresses, payment methods, and shipping information. They can be modified, processed into orders, or deleted as needed.