Skip to main content
Int!
required
Corner radius in pixels.
ID
DiscountCode id or legacyId from discountCodes. Null when unset.
String!
required
Copy shown before scratching.
String!
required
One of the email builder’s fonts (Arial, Courier New, Georgia, Lucida Sans Unicode, Tahoma, Times New Roman, Trebuchet MS, Verdana, Nunito, Poppins, Raleway, Inter, Pacifico) or a font from the store’s brand kit. A single name gets a fallback of the same kind; a comma-separated list is used as written.
Int!
required
Font size in pixels.
Font weight.
Horizontal alignment of the block.
ID!
required
Stable id of this section (blockId in storage).
Always SCRATCH_TO_REVEAL.
Padding inside the scratch-off area.
String!
required
Color of the scratch-off overlay.
Size of the scratch cursor.
String!
required
Color behind the hidden discount.
String!
required
Section background color.
Padding around the section.
String!
required
Text color.