Skip to main content

tenderDeleteItem

Remove an item from an existing tender.

Permanently removes a specific item from the tender and automatically recalculates tender totals, taxes, and pricing. The item cannot be recovered after deletion.

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_DELETE_ITEM_ERROR: Failed to delete the tender item
  • FORBIDDEN: Insufficient permissions to update tenders

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

tenderDeleteItem(
id: String!
itemId: String!
): Tender!

Arguments

tenderDeleteItem.id ● String! non-null scalar

Unique identifier of the tender containing the item to delete.

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

tenderDeleteItem.itemId ● String! non-null scalar

Unique identifier of the specific item to remove from the tender.

Must be a valid string representing an existing item in the specified 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.