Skip to content

TemplateComponentSpec ​

Type: Object

Component specification within a product template

Fields ​

NameTypeArgsDescriptionDeprecated
colorsComponentColorInfoDefault colour specification
defaultQuantityInt!Default quantity when instantiated
finishedDimensionsLayoutDimensionFinished (trimmed) dimensions
finishingFinishingSpecDefault finishing specification
kindComponentKind!Component kind
layoutComponentLayoutDefault piece geometry
localIdString!Stable local identifier referenced by operations
maxQuantityIntMaximum allowed quantity (storefront hint)
mediaSelectors[MediaSelector!]Acceptable media families; instantiation picks one by localId
minQuantityIntMinimum allowed quantity (storefront hint)
nameString!Default component name
quantityStepIntQuantity step increment (storefront hint)
sidesPrintSidesPrint sides
spreadTypeSpreadTypeSpread type
totalPagesIntExpected page count for this component

Relationships ​

Connect machines, automate workflows, and build custom apps for print production.