String!
required
Background color behind the discount text.
ID
DiscountCode id or legacyId from discountCodes. Null when unset.
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.
required
Font weight.
required
Horizontal alignment of the block.
ID!
required
Stable id of this section (
blockId in storage).required
Always DISCOUNT.
String!
required
Section background color.
required
Padding around the section.
String!
required
Text color.