Skip to main content

tenderDeleteBonusItem

Remove a bonus item from an existing tender.

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

Possible errors:

  • TENDER_NOT_FOUND: Tender with the specified ID does not exist
  • TENDER_BONUS_ITEM_NOT_FOUND: Bonus item with the specified ID does not exist in the tender
  • TENDER_DELETE_BONUS_ITEM_ERROR: Failed to delete the tender bonus item
  • FORBIDDEN: Insufficient permissions to update tenders

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

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

Arguments

tenderDeleteBonusItem.id ● String! non-null scalar

Unique identifier of the tender containing the bonus item to delete.

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

tenderDeleteBonusItem.itemId ● String! non-null scalar

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

Must be a valid string representing an existing bonus 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.