Skip to main content

tenderUpdateInvoiceUser

Update the invoice user for an existing tender.

Changes the user who will receive the invoice for this tender. This affects billing and notification settings for the tender processing.

Possible errors:

  • TENDER_NOT_FOUND: Tender with the specified ID does not exist
  • TENDER_USER_NOT_FOUND: User with the specified ID does not exist
  • TENDER_UPDATE_INVOICE_USER_ERROR: Failed to update the invoice user
  • FORBIDDEN: Insufficient permissions to update tenders

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

tenderUpdateInvoiceUser(
id: String!
userId: Int!
): Tender!

Arguments

tenderUpdateInvoiceUser.id ● String! non-null scalar

Unique identifier of the tender to update.

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

tenderUpdateInvoiceUser.userId ● Int! non-null scalar

Unique identifier of the user who should receive the invoice.

Must be a positive integer representing a valid user ID in the system.

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.