tenderUpdateItem
Update an existing item in a tender.
Modifies quantity, pricing, or configuration of a specific item within the tender. Automatically recalculates tender totals, taxes, and pricing based on the updated item information.
Possible errors:
- TENDER_NOT_FOUND: Tender with the specified ID does not exist
- TENDERITEM_NOT_FOUND: Item with the specified ID does not exist in the tender
- TENDER_UPDATE_ITEM_ERROR: Failed to update the tender item
- FORBIDDEN: Insufficient permissions to update tenders
AUTH: Role=[order.OWNER,order.EDITOR]
tenderUpdateItem(
id: String!
itemId: String!
input: TenderUpdateItemInput!
): Tender!
Arguments
tenderUpdateItem.id
● String!
non-null scalar
Unique identifier of the tender containing the item to update.
Must be a valid string representing an existing tender in the system.
tenderUpdateItem.itemId
● String!
non-null scalar
Unique identifier of the specific item to update within the tender.
Must be a valid string representing an existing item in the specified tender.
tenderUpdateItem.input
● TenderUpdateItemInput!
non-null input
Updated item information including quantity, pricing, or configuration changes.
Contains the modifications to be applied to the tender item.
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.