Skip to main content

TenderMainItem

Primary product item within a tender representing actual merchandise being purchased.

Main items are the core products in a tender that customers are purchasing, as opposed to surcharges, fees, or incentives. They contain comprehensive pricing information and can have associated child items for configurable products.

type TenderMainItem implements ITenderBaseItem {
id: Int! @deprecated
productId: Int
product(hidden: Boolean): Product
uuid: String!
orderItemId: Int
name: String!
sku: String!
quantity: Int!
supplier: String
supplierCode: String
price: Float!
priceNet: Float!
totalPrice: Float!
totalPriceNet: Float!
taxCode: Taxcode!
taxPercentage: Int!
customerDiscountPercentage: Float!
discountPercentage: Float!
totalDiscountPercentage: Float!
marginAmount: Float!
marginPercentage: Float!
saleMarginAmount: Float!
saleMarginPercentage: Float!
attributedSaleDiscount: Float!
attributedSaleMargin: Float!
originalPrice: Float!
costPrice: Float!
customerPrice: Float!
valuePoints: Int
expectedDeliveryDate: DateTime
externalOrderitemId: String
notes: String
incentive: TenderItemIncentive
surcharges: [TenderItemSurcharge!]
priority: Int
attributes: [AttributeBulkCreateType!]
childItems: [ITenderBaseItem!]
sum: Float!
sumNet: Float!
totalSum: Float!
totalSumNet: Float!
discountPercentageSum: Float!
totalDiscountPercentageSum: Float!
saleMarginAmountSum: Float!
saleMarginPercentageSum: Float!
attributedSaleDiscountSum: Float!
attributedSaleMarginSum: Float!
}

Fields​

TenderMainItem.productId ● Int scalar​

The tender/order item's productId, if applicable

TenderMainItem.product ● Product object​

TenderMainItem.product.hidden ● Boolean scalar​

TenderMainItem.uuid ● String! non-null scalar​

Id of the tender item, this id can be used for update or delete mutation for this tender item

TenderMainItem.orderItemId ● Int scalar​

Id of the order item

TenderMainItem.name ● String! non-null scalar​

Tender/order item name

TenderMainItem.sku ● String! non-null scalar​

Tender/order item SKU

TenderMainItem.quantity ● Int! non-null scalar​

The quantity for this tender/order item

TenderMainItem.supplier ● String scalar​

Tender/order item supplier

TenderMainItem.supplierCode ● String scalar​

Tender/order item supplier code

TenderMainItem.price ● Float! non-null scalar​

The gross sales price per UOM of this tender/order item, no item specific incentives and extra costs are applied to this price. VAT excluding

TenderMainItem.priceNet ● Float! non-null scalar​

The sales price per UOM of this tender/order item, no item specific incentives and extra costs are applied to this price. VAT including

TenderMainItem.totalPrice ● Float! non-null scalar​

The total gross price of this tender/order item, no item specific incentives and extra costs are applied to this price. VAT excluding

TenderMainItem.totalPriceNet ● Float! non-null scalar​

The total price of this tender/order item, no item specific incentives and extra costs are applied to this price. VAT including

TenderMainItem.taxCode ● Taxcode! non-null enum​

The tax code for this tender/order item

TenderMainItem.taxPercentage ● Int! non-null scalar​

The tax percentage for this tender/order item

TenderMainItem.customerDiscountPercentage ● Float! non-null scalar​

Customer discount (%)

TenderMainItem.discountPercentage ● Float! non-null scalar​

Sales discount (%)

TenderMainItem.totalDiscountPercentage ● Float! non-null scalar​

Total discount (%)

TenderMainItem.marginAmount ● Float! non-null scalar​

Default margin amount (list price). VAT excluding

TenderMainItem.marginPercentage ● Float! non-null scalar​

Default margin percentage (list price)

TenderMainItem.saleMarginAmount ● Float! non-null scalar​

Margin amount. VAT excluding

TenderMainItem.saleMarginPercentage ● Float! non-null scalar​

Margin percentage

TenderMainItem.attributedSaleDiscount ● Float! non-null scalar​

Extra item discount (%) calculated based on tender/order total discount

TenderMainItem.attributedSaleMargin ● Float! non-null scalar​

Margin percentage calculated based on tender/order total discount

TenderMainItem.originalPrice ● Float! non-null scalar​

Product list price per UOM of this tender/order item. VAT excluding

TenderMainItem.costPrice ● Float! non-null scalar​

Product cost price per UOM of this tender/order item. VAT excluding

TenderMainItem.customerPrice ● Float! non-null scalar​

Customer special price per UOM of this tender/order item. VAT excluding

TenderMainItem.valuePoints ● Int scalar​

Total amount of valuePoints that apply to this tender/order item

TenderMainItem.expectedDeliveryDate ● DateTime scalar​

The preferred delivery date for this order as requested by the user

TenderMainItem.externalOrderitemId ● String scalar​

The order item's ID in an external system

TenderMainItem.notes ● String scalar​

User notes on tender item level

TenderMainItem.incentive ● TenderItemIncentive object​

Discount or promotional incentive applied to this item.

Contains any price reductions, promotional offers, or special incentives that decrease the cost of this specific item.

TenderMainItem.surcharges ● [TenderItemSurcharge!] list object​

Additional fees and surcharges applied to this item.

Contains any extra costs such as handling fees, special processing charges, or item-specific surcharges that increase the total cost.

TenderMainItem.priority ● Int scalar​

The priority of the item within its tender. Auto-assigned in increments of 100 if not provided. Lower numbers are considered higher priority. Must be unique per order. When setting a priority that conflicts with an existing item, other items are automatically shifted to make room.

TenderMainItem.attributes ● [AttributeBulkCreateType!] list object​

Item-level attribute values captured for this tender/order item

TenderMainItem.childItems ● [ITenderBaseItem!] list interface​

Associated child items for configurable or bundled products.

Contains sub-items, options, or components that are part of this main item. Used for products with selectable configurations or bundled offerings.

TenderMainItem.sum ● Float! non-null scalar​

Gross price per unit of measure for this item excluding VAT.

Calculated price per unit including all item-specific incentives, discounts, and additional costs, but excluding value-added tax.

TenderMainItem.sumNet ● Float! non-null scalar​

Net price per unit of measure for this item including VAT.

Final price per unit including all item-specific incentives, discounts, additional costs, and value-added tax.

TenderMainItem.totalSum ● Float! non-null scalar​

The total gross price of this tender/order item, with item specific incentives and extra costs applied to this price. VAT excluding

TenderMainItem.totalSumNet ● Float! non-null scalar​

The total price of this tender/order item, with item specific incentives and extra costs applied to this price. VAT including

TenderMainItem.discountPercentageSum ● Float! non-null scalar​

Sales discount (%). Includes item specific incentives and extra costs

TenderMainItem.totalDiscountPercentageSum ● Float! non-null scalar​

Total discount (%). Includes item specific incentives and extra costs

TenderMainItem.saleMarginAmountSum ● Float! non-null scalar​

Margin amount. Includes item specific incentives and extra costs. VAT excluding

TenderMainItem.saleMarginPercentageSum ● Float! non-null scalar​

Margin percentage. Includes item specific incentives and extra costs

TenderMainItem.attributedSaleDiscountSum ● Float! non-null scalar​

Extra item discount (%) calculated based on tender/order total discount. Includes item specific incentives and extra costs

TenderMainItem.attributedSaleMarginSum ● Float! non-null scalar​

Margin percentage calculated based on tender/order total discount. Includes item specific incentives and extra costs

Show deprecated

Interfaces​

ITenderBaseItem interface​

Interface for the TenderBaseItem Type, where both TenderBaseItem and TenderMainItem derive from

Member Of​

Tender object