Skip to content

QuoteItem

A QuoteItem represents a single line item in a quote. It can reference either a configured product from a Brief/BriefElement or a predefined Article. QuoteItems support hierarchical relationships for complex product structures.

  • Represent individual line items within a quote
  • Link configured products (BriefElements) or predefined articles to quotes
  • Track quantities, pricing, and dimensions per item
  • Support hierarchical parent-child item relationships
  • Enable mixed quotes with both custom configurations and catalog items
PropertyTypeDescription
idUUIDUnique identifier
namestringItem name
quantitynumberQuantity (min: 0)
pricenumberUnit price (min: 0)
totalPricenumberTotal price (min: 0)
unitstringUnit of measure (e.g., “pcs”, “boxes”)
lengthDimensionnumberLength dimension (min: 0)
widthDimensionnumberWidth dimension (min: 0)
heightDimensionnumberHeight dimension (min: 0)
positionnumberDisplay order within quote (default: 1)
quoteDetailUrlstringURL for detailed product information
articleDescriptionstringArticle description text
validbooleanValidation flag (default: false)
createdAtDateCreation timestamp
updatedAtDateLast update timestamp
RelationshipEntityTypeDescription
quoteQuoteMany-to-OneParent quote (required)
articleArticleMany-to-OneAssociated article (for predefined products)
briefBriefMany-to-OneAssociated brief (for configured products)
briefElementBriefElementMany-to-OneSpecific configured product element
parentQuoteItemMany-to-OneParent quote item (for hierarchical items)
childrenQuoteItemOne-to-ManyChild quote items (for hierarchical items)
commentCommentMany-to-OneAssociated comment
userUserMany-to-OneCreator of the quote item

A QuoteItem can represent different types of products:

1. Configured Product (from Brief/BriefElement)

Section titled “1. Configured Product (from Brief/BriefElement)”
  • Links to a brief and briefElement from an actual Brief
  • Product was configured using the packaging configurator
  • Includes custom dimensions, materials, decorations, etc.
  • Pricing calculated from brief’s prediction system
  • Links to an article
  • Product exists in the article catalog
  • Can be stocked or custom-made
  • Uses predefined pricing from article
  • Article may or may not be linked to a BriefElement:
    • Article linked to BriefElement from an actual Brief (has production specs)
    • Article with standalone BriefElement (created with the article)
    • Article without any BriefElement link
  • Quotes can contain both configured products and articles
  • Each QuoteItem references either:
    • A Brief/BriefElement (configured product), OR
    • An Article (with or without BriefElement link)

QuoteItems support parent-child relationships for organizing complex product structures.

  • parent: Reference to parent QuoteItem
  • children: Array of child QuoteItems
  • Useful for grouping related products or showing component breakdowns

When a quote is generated from Briefs, the system automatically creates a hierarchical structure:

Structure:

  • Parent QuoteItem → References the Brief (container)
  • Children QuoteItems → Reference individual BriefElements from that Brief

Example:

Quote
├── QuoteItem (parent) → Brief "Folding Carton Set"
│ ├── QuoteItem (child) → BriefElement 1 "Outer Box"
│ ├── QuoteItem (child) → BriefElement 2 "Inner Box"
│ └── QuoteItem (child) → BriefElement 3 "Insert Card"
├── QuoteItem (parent) → Brief "Display Packaging"
│ ├── QuoteItem (child) → BriefElement 1 "Display Stand"
│ └── QuoteItem (child) → BriefElement 2 "Header Card"
├── QuoteItem → Article "Standard Tape" (no BriefElement link)
├── QuoteItem → Article "Custom Label" (linked to standalone BriefElement)
└── QuoteItem → Article "Box Insert" (linked to BriefElement from Brief "Folding Carton Set")

This hierarchy allows:

  • Clear organization of multi-product briefs with parent-child structure
  • Easy identification of which BriefElements belong to which Brief
  • Logical grouping for pricing and presentation
  • Mix of configured products (from Briefs) and catalog articles
  • Articles with various BriefElement linking scenarios (none, standalone, or from actual Brief)
{
"briefId": "uuid-brief-1",
"briefElementId": "uuid-element-1",
"quantity": 1000,
"comment": "Custom packaging configuration"
}
{
"articleId": "uuid-article-1",
"quantity": 50,
"price": 25.0,
"comment": "Standard box from catalog"
}
  • Flexible Product Types: Support for both configured and predefined products
  • Hierarchical Items: Parent-child relationships for complex product structures
  • Dimensional Data: Store length, width, height for logistics
  • Validation: Track item validation status
  • Comments: Attach notes to specific line items
  • Positioning: Control display order within quote