Skip to content

ProductTemplateEstimateItemSpecsInput

Type: Input

Fields

NameTypeDefaultDescription
conditionExpressionStringOptional expression that must evaluate to true for this item to be included.
Examples:
  • "user_selections.cover_lamination == true"
  • "user_selections.quantity >= 100"
  • "user_selections.interior_color == :color"

If nil, item is always included. | | costRateId | ID | | Reference to the cost rate to use for pricing | | description | String | | Description of this line item | | discountAmount | MoneyInput | | Default discount amount to subtract | | fixedPriceModifier | MoneyInput | | Optional fixed price to add/charge for this item (e.g., +$5.00 for lamination). If set, this is added to any cost rate calculation. | | kind | String | | The kind of estimate item (material, labor, finishing, etc.) | | markupPercentage | Decimal | | Default markup percentage to apply (e.g., 0.20 for 20% markup) | | order | Int | | Display order in estimate (lower numbers appear first) | | quantityExpression | String | | Expression to calculate quantity/units from user selections. Examples:

  • "user_selections.quantity"
  • "user_selections.page_count / 4"
  • "1" (for fixed quantity items)

The expression has access to:

  • user_selections: map of user's configuration choices
  • config: the product config |

Connect. Combine. Collaborate.
The pioneering open integration platform, dedicated to transforming connectivity in the printing industry.