Skip to main content

tenderAddItems

Add new items to an existing tender.

Adds one or more products to the tender with specified quantities and configurations. Automatically recalculates pricing, taxes, and totals based on the new items.

Possible errors:

  • TENDER_NOT_FOUND: Tender with the specified ID does not exist
  • TENDERITEM_PRODUCT_NOT_FOUND: One or more specified products do not exist
  • TENDER_ADD_ITEMS_ERROR: Failed to add items to tender
  • FORBIDDEN: Insufficient permissions to update tenders

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

tenderAddItems(
id: String!
input: TenderAddItemsInput!
): TenderResponse!

Arguments

tenderAddItems.id ● String! non-null scalar

Unique identifier of the tender to add items to.

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

tenderAddItems.input ● TenderAddItemsInput! non-null input

Items to add to the tender including product IDs, quantities, and configurations.

Contains product information and quantities to be added to the tender for pricing and processing.

Type

TenderResponse object

Complete response for tender operations that return both tender data and operation metadata.

Combines the updated tender information with additional response data and messages from the operation.