Skip to main content

tenderUpdate

Update general information for an existing tender.

Modifies tender metadata such as status, reference number, remarks, email, or validity period. At least one field must be provided for the update to proceed.

Possible errors:

  • TENDER_NOT_FOUND: Tender with the specified ID does not exist
  • TENDER_UPDATE_ERROR: Failed to update the tender
  • TENDER_VALIDATION_ERROR: No update fields provided or validation failed
  • FORBIDDEN: Insufficient permissions to update tenders

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

tenderUpdate(
id: String!
input: TenderUpdateInput!
): Tender!

Arguments

tenderUpdate.id ● String! non-null scalar

Unique identifier of the tender to update.

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

tenderUpdate.input ● TenderUpdateInput! non-null input

Updated tender information including status, reference, remarks, email, or validity period.

At least one field must be provided. Contains the modifications to be applied to the tender.

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.