> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EmailTemplateDiscountSectionInput

> Fields for a discount section. Omitted fields keep their value (update) or the default (insert).

<ResponseField name="blockBackgroundColor" type="String">
  Background color behind the discount text.
</ResponseField>

<ResponseField name="discountId" type="ID">
  DiscountCode id or legacyId from discountCodes.
</ResponseField>

<ResponseField name="fontFamily" type="String">
  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.
</ResponseField>

<ResponseField name="fontSize" type="Int">
  Font size in pixels.
</ResponseField>

<ResponseField name="fontWeight" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-builder-font-weight">EmailTemplateBuilderFontWeight</a>}>
  Font weight.
</ResponseField>

<ResponseField name="horizontalAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-alignment">EmailTemplateAlignment</a>}>
  Horizontal alignment.
</ResponseField>

<ResponseField name="sectionColor" type="String">
  Section background color.
</ResponseField>

<ResponseField name="sectionPadding" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-padding-input">EmailTemplatePaddingInput</a>}>
  Padding around the section.

  <Expandable title="fields" lazyRender>
    <ResponseField name="bottom" type="Int">
      Bottom padding in pixels.
    </ResponseField>

    <ResponseField name="left" type="Int">
      Left padding in pixels.
    </ResponseField>

    <ResponseField name="right" type="Int">
      Right padding in pixels.
    </ResponseField>

    <ResponseField name="top" type="Int">
      Top padding in pixels.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="textColor" type="String">
  Text color.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.