TenderAddItemInput
Input data for adding a single item to a tender.
Extends the base tender item input with specific product identification and quantity information needed for adding new items to the tender.
input TenderAddItemInput {
quantity: Int! = 1
name: String
price: Float
supplier: String
deliveryDate: String
notes: String
priority: Int
attributes: [AttributeBulkCreateInput!]
productId: Int!
childItems: [TenderChildItemInput!]
}
Fields
TenderAddItemInput.quantity ● Int! non-null scalar
Quantity of the product to add to the tender.
Must be a positive integer representing the number of units to include in the tender.
TenderAddItemInput.name ● String scalar
Custom display name for the item.
Overrides the default product name if specified. Useful for personalized or customized item descriptions.
TenderAddItemInput.price ● Float scalar
Custom price per unit for this item.
Overrides the default calculated sales price if specified. Used for special pricing arrangements or manual price adjustments.
TenderAddItemInput.supplier ● String scalar
Supplier or vendor information for this item.
Overrides the default product supplier if specified. Used for special sourcing arrangements or supplier preferences.
TenderAddItemInput.deliveryDate ● String scalar
Expected delivery date for this specific item.
Must be a valid ISO 8601 date string. Used for items with special delivery requirements or scheduling.
TenderAddItemInput.notes ● String scalar
Additional notes or special instructions for this item.
Free-form text for any special requirements, customizations, or important information related to this item.
TenderAddItemInput.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.
TenderAddItemInput.attributes ● [AttributeBulkCreateInput!] list input
Item-level attribute values to capture for this tender item.
Additive: attributes you do not mention are always kept. An entry whose description is already stored overwrites its value; a new description is appended. To remove a single attribute, send it with a null value. An omitted array changes nothing.
An EMPTY array depends on the operation. On the update path (tenderUpdateItem) it removes every attribute on this item in one call. On the add path (tenderAddItems) it is a no-op, so re-adding the same product never wipes the attributes already captured on the line.
TenderAddItemInput.productId ● Int! non-null scalar
Unique identifier of the product to add to the tender.
Must be a valid product ID that exists in the system and is available for purchase.
TenderAddItemInput.childItems ● [TenderChildItemInput!] list input
Child items or product options for configurable products.
Used when adding complex products that have selectable options, configurations, or bundled components. Each child item represents a specific option or component of the parent product.
Member Of
TenderAddItemsInput input