> ## 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.

# DiscountMinRequirementInput

> A minimum purchase required to use the code.

<ResponseField name="minimum" type="Float!" required>
  The required quantity or subtotal.
</ResponseField>

<ResponseField name="type" type={<a href="/docs/api-reference/v3/reference/marketing/discount-min-requirement-type">DiscountMinRequirementType!</a>} required>
  Whether `minimum` is a quantity or a subtotal.
</ResponseField>


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