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

# Campaign Object

<div class="prose dark:prose-invert custom-html">
  <h2 id="campaign">Campaign</h2>
  <p>All of:</p>

  <ol>
    <li>
      <a href="#campaign-base">Campaign Base</a>
    </li>

    <li>
      <h3>Campaign Additional Data</h3>

      <table>
        <thead>
          <tr>
            <th>Attributes</th>
            <th>Description</th>
          </tr>
        </thead>

        <tbody>
          <tr>
            <td>
              <p>promotion</p>
            </td>

            <td>
              See:
              <a href="#promotion-tiers">Promotion Tiers</a>
            </td>
          </tr>

          <tr>
            <td>
              <p>validation\_rules\_assignments</p>
            </td>

            <td>
              See:
              <a href="#validation-rules-assignments-list">Validation Rules Assignments List</a>
            </td>
          </tr>
        </tbody>
      </table>
    </li>
  </ol>

  <h2 id="campaign-base">Campaign Base</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique campaign ID, assigned by Voucherify.</p>

          <p>
            <strong>Example:</strong>
            camp\_f7fBbQxUuTN7dI7tGOo5XMDA
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Campaign name.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            description

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>An optional field to keep any extra textual information about the campaign such as a campaign description and details.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            campaign\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Type of campaign.</p>

          <p>
            Available values:
            <code>LOYALTY\_PROGRAM</code>,
            <code>GIFT\_VOUCHERS</code>,
            <code>DISCOUNT\_COUPONS</code>,
            <code>PROMOTION</code>,
            <code>REFERRAL\_PROGRAM</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines whether the campaign can be updated with new vouchers after campaign creation or if the campaign consists of generic (standalone) vouchers.</p>

          <ul>
            <li>
              <code>AUTO\_UPDATE</code>
              : the campaign is dynamic, i.e. vouchers will generate based on set criteria
            </li>

            <li>
              <code>STATIC</code>
              : vouchers need to be manually published
            </li>

            <li>
              <code>STANDALONE</code>
              : campaign for single vouchers
            </li>
          </ul>

          <p>
            Available values:
            <code>AUTO\_UPDATE</code>,
            <code>STATIC</code>,
            <code>STANDALONE</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>voucher</p>
        </td>

        <td>
          See:
          <a href="#campaign-voucher">Campaign Voucher</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            auto\_join

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Indicates whether customers will be able to auto-join a loyalty campaign if any earning rule is fulfilled.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            join\_once

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            If this value is set to
            <code>true</code>,
            customers will be able to join the campaign only once. It is always
            <code>false</code>
            for generic (standalone) vouchers campaigns and it cannot be changed in them. It is always
            <code>true</code>
            for loyalty campaigns and it cannot be changed in them.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            use\_voucher\_metadata\_schema

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Flag indicating whether the campaign is to use the voucher's metadata schema instead of the campaign metadata schema.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_timeframe</p>
        </td>

        <td>
          See:
          <a href="#validity-timeframe">Validity Timeframe</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_day\_of\_week</p>
        </td>

        <td>
          See:
          <a href="#validity-day-of-week">Validity Day Of Week</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_hours</p>
        </td>

        <td>
          See:
          <a href="#validity-hours">Validity Hours</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            activity\_duration\_after\_publishing

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines the amount of time the vouchers will be active after publishing. The value is shown in the ISO 8601 format. For example, a voucher with the value of P24D will be valid for a duration of 24 days.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            vouchers\_count

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Total number of unique vouchers in campaign.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            start\_date

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is
            <em>inactive before</em>
            this date.
          </p>

          <p>
            <strong>Example:</strong>
            2022-09-20T00:00:00.000Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            expiration\_date

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is
            <em>inactive after</em>
            this date.
          </p>

          <p>
            <strong>Example:</strong>
            2022-09-30T00:00:00.000Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            active

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            A flag to toggle the campaign on or off. You can disable a campaign even though it's within the active period defined by the
            <code>start\_date</code>
            and
            <code>expiration\_date</code>.
          </p>

          <ul>
            <li>
              <code>true</code>
              indicates an
              <em>active</em>
              campaign
            </li>

            <li>
              <code>false</code>
              indicates an
              <em>inactive</em>
              campaign
            </li>
          </ul>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>The metadata object stores all custom attributes assigned to the campaign. A set of key/value pairs that you can attach to a campaign object. It can be useful for storing additional information about the campaign in a structured format.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the campaign was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2021-12-01T08:00:50.038Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            updated\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the campaign was last updated in ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-09-20T09:18:19.623Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            category

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique category name.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            creation\_status

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Indicates the status of the campaign creation.</p>

          <p>
            Available values:
            <code>DONE</code>,
            <code>IN\_PROGRESS</code>,
            <code>FAILED</code>,
            <code>DRAFT</code>,
            <code>MODIFYING</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            vouchers\_generation\_status

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Indicates the status of the campaign's voucher generation.</p>

          <p>
            Available values:
            <code>DONE</code>,
            <code>IN\_PROGRESS</code>,
            <code>FAILED</code>,
            <code>DRAFT</code>,
            <code>MODIFYING</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            readonly

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            Indicates whether the campaign can be only read by a restricted user in the Areas and Stores enterprise feature. It is returned only to restricted users; this field is not returned for users with other roles. It is also not returned for restricted users who use the
            <a href="/api-reference/campaigns/get-campaign-summary">GET Campaign summary</a>
            endpoint.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            protected

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Indicates whether the resource can be deleted.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            category\_id

            <br />

            <code>string</code>,
            <code>null</code>
          </p>
        </td>

        <td>
          <p>Unique category ID that this campaign belongs to.</p>

          <p>
            <strong>Example:</strong>
            cat\_0b688929a2476386a7
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            categories

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>
            Contains details about the campaign category. For the GET
            <a href="/api-reference/campaigns/list-campaigns">List campaigns</a>
            endpoint, this is returned only if the
            <code>expand=category</code>
            query parameter is passed in the request. Otherwise, it is returned as an empty array. For GET
            <a href="/api-reference/campaigns/get-campaign-summary">Campaign summary</a>
            endpoint, it is always returned as an empty array.
          </p>

          Array of
          <a href="#category">Category</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON. This object stores information about the campaign.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>referral\_program</p>
        </td>

        <td>
          See:
          <a href="#referral-program">Referral Program</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>loyalty\_tiers\_expiration</p>
        </td>

        <td>
          See:
          <a href="#loyalty-tiers-expiration">Loyalty Tiers Expiration</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>access\_settings\_assignments</p>
        </td>

        <td>
          See:
          <a href="#access-settings-campaign-assignments-list">Access Settings Campaign Assignments List</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="promotion-tiers">Promotion Tiers</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON. This object stores information about promotion tiers in a dictionary.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data\_ref

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Identifies the name of the attribute that contains the array of promotion tier objects.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            tiers

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>Contains array of promotion tier objects.</p>
          Array of
          <a href="#promotion-tier">Promotion Tier</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            total

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Total number of promotion tiers.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            has\_more

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            As query results are always limited (by the limit parameter), the
            <code>has\_more</code>
            flag indicates if there are more records for given filter parameters. This lets you know if you can run another request to get more records returned in the results.
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="validation-rules-assignments-list">Validation Rules Assignments List</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON. This object stores information about validation rules assignments.</p>

          <p>
            Available values:
            <code>list</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data\_ref

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Identifies the name of the attribute that contains the array of validation rules assignments.</p>

          <p>
            Available values:
            <code>data</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>Contains array of validation rules assignments.</p>
          Array of
          <a href="#business-validation-rule-assignment">Business Validation Rule Assignment</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            total

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Total number of validation rules assignments.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="campaign-voucher">Campaign Voucher</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Type of voucher.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>discount</p>
        </td>

        <td>
          <p>Defines the voucher discount type and details.</p>
          <a href="#discount">Discount</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>gift</p>
        </td>

        <td>
          <p>Defines the voucher gift details.</p>
          <a href="#gift">Gift</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>loyalty\_card</p>
        </td>

        <td>
          <p>Defines the voucher loyalty card details.</p>
          <a href="#campaign-loyalty-card">Campaign Loyalty Card</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            redemption

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Defines the redemption limits on vouchers.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    quantity

                    <br />

                    <code>integer</code>,
                    <code>null</code>
                  </p>
                </td>

                <td>
                  <p>
                    How many times a voucher can be redeemed. A
                    <code>null</code>
                    value means unlimited.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>code\_config</p>
        </td>

        <td>
          <a href="#code-config">Code Config</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            is\_referral\_code

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            Flag indicating whether this voucher is a referral code;
            <code>true</code>
            for campaign type
            <code>REFERRAL\_PROGRAM</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            start\_date

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is
            <em>inactive before</em>
            this date.
          </p>

          <p>
            <strong>Example:</strong>
            2022-09-20T00:00:00.000Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            expiration\_date

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is
            <em>inactive after</em>
            this date.
          </p>

          <p>
            <strong>Example:</strong>
            2022-09-30T00:00:00.000Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_timeframe</p>
        </td>

        <td>
          See:
          <a href="#validity-timeframe">Validity Timeframe</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_day\_of\_week</p>
        </td>

        <td>
          See:
          <a href="#validity-day-of-week">Validity Day Of Week</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_hours</p>
        </td>

        <td>
          See:
          <a href="#validity-hours">Validity Hours</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="validity-timeframe">Validity Timeframe</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            duration

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Defines the amount of time an earning rule will be active in ISO 8601 format. For example, an earning rule with a
            <code>duration</code>
            of
            <code>PT1H</code>
            will be valid for a duration of one hour.
          </p>

          <p>
            <strong>Example:</strong>
            PT1H
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            interval

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Defines the intervening time between two time points in ISO 8601 format, expressed as a duration. For example, an earning rule with an
            <code>interval</code>
            of
            <code>P2D</code>
            will be valid every other day.
          </p>

          <p>
            <strong>Example:</strong>
            P2D
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="validity-day-of-week">Validity Day Of Week</h2>
  <p>Integer array corresponding to the particular days of the week in which the voucher is valid.</p>

  <ul>
    <li>
      <code>0</code>
      Sunday
    </li>

    <li>
      <code>1</code>
      Monday
    </li>

    <li>
      <code>2</code>
      Tuesday
    </li>

    <li>
      <code>3</code>
      Wednesday
    </li>

    <li>
      <code>4</code>
      Thursday
    </li>

    <li>
      <code>5</code>
      Friday
    </li>

    <li>
      <code>6</code>
      Saturday
    </li>
  </ul>

  <h2 id="validity-hours">Validity Hours</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            daily

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>Defines the recurring period(s) when the resource is active. The periods should not overlap.</p>
          Array of:

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    start\_time

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Defines the starting hour of validity in the HH:mm format. The resource is
                    <em>inactive before</em>
                    this time.
                  </p>

                  <p>
                    <strong>Example:</strong>
                    12:00
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    days\_of\_week

                    <br />

                    <code>array</code>
                  </p>
                </td>

                <td>
                  <p>Integer array corresponding to the particular days of the week in which the resource is valid.</p>

                  <ul>
                    <li>
                      <code>0</code>
                      Sunday
                    </li>

                    <li>
                      <code>1</code>
                      Monday
                    </li>

                    <li>
                      <code>2</code>
                      Tuesday
                    </li>

                    <li>
                      <code>3</code>
                      Wednesday
                    </li>

                    <li>
                      <code>4</code>
                      Thursday
                    </li>

                    <li>
                      <code>5</code>
                      Friday
                    </li>

                    <li>
                      <code>6</code>
                      Saturday
                    </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    expiration\_time

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Defines the ending hour of validity in the HH:mm format. The resource is
                    <em>inactive after</em>
                    this time.
                  </p>

                  <p>
                    <strong>Example:</strong>
                    14:00
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="category">Category</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique category ID assigned by Voucherify.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Category name.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            hierarchy

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Category hierarchy. Categories with lower hierarchy are processed before categories with higher hierarchy value.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by the JSON. This object stores information about the category.</p>

          <p>
            Available values:
            <code>category</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the category was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-07-14T10:45:13.156Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            updated\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the category was updated. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-08-16T10:52:08.094Z
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="referral-program">Referral Program</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            conversion\_event\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Define how a referral is triggered.</p>

          <p>
            Available values:
            <code>redemption</code>,
            <code>custom\_event</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            custom\_event

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Contains details about the custom event.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    id

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>Unique custom event ID.</p>

                  <p>
                    <strong>Example:</strong>
                    ms\_Ll9enAm2BCN0M1s4VxWobLFM
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    name

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>Custom event name.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            referee\_reward

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Defines the referee reward.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    related\_object\_parent

                    <br />

                    <code>object</code>
                  </p>
                </td>

                <td>
                  <p>Details of the resource from which the reward originates.</p>

                  <table>
                    <thead>
                      <tr>
                        <th>Attributes</th>
                        <th>Description</th>
                      </tr>
                    </thead>

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            id

                            <br />

                            <code>string</code>
                          </p>
                        </td>

                        <td>
                          <p>Unique ID of the reward source.</p>

                          <p>
                            <strong>Example:</strong>
                            camp\_kdxp3vf1clQ9CFs1jpqv3tZe
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            name

                            <br />

                            <code>string</code>
                          </p>
                        </td>

                        <td>
                          <p>Name of the reward source.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            object

                            <br />

                            <code>string</code>
                          </p>
                        </td>

                        <td>
                          <p>Type of resource represented by the source of the reward.</p>

                          <p>
                            Available values:
                            <code>CAMPAIGN</code>
                          </p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    type

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>Type of reward.</p>

                  <p>
                    Available values:
                    <code>LOYALTY\_CARD</code>,
                    <code>GIFT\_VOUCHER</code>
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    amount

                    <br />

                    <code>integer</code>
                  </p>
                </td>

                <td>
                  <p>
                    Define the number of
                    <code>points</code>
                    to add to a loyalty card or
                    <code>credits</code>
                    to the balance on a gift card. In case of the gift card, the value is multiplied by 100 to precisely represent 2 decimal places. For example, \$100 amount is written as 10000.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="loyalty-tiers-expiration">Loyalty Tiers Expiration</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            qualification\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Tier qualification.</p>

          <p>
            <code>BALANCE</code>
            : Points balance is based on the customer's current points balance. Customers qualify for the tier if their points balance is in the points range of the tier.

            <br />

            <code>POINTS\_IN\_PERIOD</code>
            : A customer qualifies for the tier only if the sum of the accumulated points in a
            <strong>defined time interval</strong>
            reaches the tier threshold.
          </p>

          <p>
            Available values:
            <code>BALANCE</code>,
            <code>POINTS\_IN\_PERIOD</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            qualification\_period

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Customers can qualify for the tier if they collected enough points in a given time period. So, in addition to the customer having to reach a points range, they also need to have collected the points within a set time period.</p>

          <table>
            <thead>
              <tr>
                <th>
                  <strong>Period</strong>
                </th>

                <th>
                  <strong>Definition</strong>
                </th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <strong>Calendar Month</strong>
                </td>

                <td>
                  Points collected in one calendar month

                  <br />

                  January, February, March, etc.
                </td>
              </tr>

              <tr>
                <td>
                  <strong>Calendar Quarter</strong>
                </td>

                <td>
                  Points collected in the quarter

                  <br />

                  \- January - March

                  <br />

                  \- April - June

                  <br />

                  \- July - September

                  <br />

                  \- October - December
                </td>
              </tr>

              <tr>
                <td>
                  <strong>Calendar Half-year</strong>
                </td>

                <td>
                  Points collected in the half-year

                  <br />

                  \- January - June

                  <br />

                  \- July - December
                </td>
              </tr>

              <tr>
                <td>
                  <strong>Calendar Year</strong>
                </td>

                <td>
                  Points collected in one calendar year

                  <br />

                  January - December
                </td>
              </tr>
            </tbody>
          </table>

          <p>
            Available values:
            <code>MONTH</code>,
            <code>QUARTER</code>,
            <code>HALF\_YEAR</code>,
            <code>YEAR</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            start\_date

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Defines the conditions for the start date of the tier.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    type

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    What triggers the tier to be valid for a customer.

                    <br />

                    <code>IMMEDIATE</code>
                    : After reaching the minimum required points.

                    <br />

                    <code>NEXT\_PERIOD</code>
                    : When the next qualification period starts.
                  </p>

                  <p>
                    Available values:
                    <code>IMMEDIATE</code>,
                    <code>NEXT\_PERIOD</code>
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            expiration\_date

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Defines the conditions for the expiration date of a tier.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    type

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    What triggers the tier to expire for a customer.

                    <br />

                    <code>END\_OF\_PERIOD</code>
                    : Expire tier at the end of the period.

                    <br />

                    <code>END\_OF\_NEXT\_PERIOD</code>
                    : Expire tier at the end of the next period.

                    <br />

                    <code>BALANCE\_DROP</code>
                    : Tier expires when the points balance drops below the required range of the tier.

                    <br />

                    <code>CUSTOM</code>
                    : Tier expires after a certain time period passes following the instance the points balance drops below the required range of the tier.
                  </p>

                  <p>
                    Available values:
                    <code>END\_OF\_PERIOD</code>,
                    <code>END\_OF\_NEXT\_PERIOD</code>,
                    <code>BALANCE\_DROP</code>,
                    <code>CUSTOM</code>
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    extend

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Extend the expiration by adding extra months or days in ISO 8601 format. The tier will remain active even though it reaches its expiration time period. For example, a tier with a duration of
                    <code>P3M</code>
                    will be valid for an additional duration of 3 months and a tier with a duration of
                    <code>P1D</code>
                    will be valid for an additional duration of 1 day.
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>rounding</p>
                </td>

                <td>
                  <p>Defines the rounding mechanism for tier expiration.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="access-settings-campaign-assignments-list">Access Settings Campaign Assignments List</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            The type of the object represented by JSON. Default is
            <code>list</code>.
            This object stores information about campaign assignments to areas and stores
          </p>

          <p>
            Available values:
            <code>list</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data\_ref

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Identifies the name of the attribute that contains the array of campaign assignments.</p>

          <p>
            Available values:
            <code>data</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>Contains an array of campaign assignments.</p>
          Array of
          <a href="#areas-and-stores-campain-assignment">Areas and Stores Campain Assignment</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            total

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Total number of areas and stores to which the campaign is assigned.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="promotion-tier">Promotion Tier</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique promotion tier ID.</p>

          <p>
            <strong>Example:</strong>
            promo\_63fYCt81Aw0h7lzyRkrGZh9p
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the promotion tier was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2021-12-15T11:34:01.333Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            updated\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the promotion tier was updated. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-02-09T09:20:05.603Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Name of the promotion tier.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            banner

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Text to be displayed to your customers on your website.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            action

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Contains details about the discount applied by the promotion tier.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>discount</p>
                </td>

                <td>
                  See:
                  <a href="#discount">Discount</a>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>The metadata object stores all custom attributes assigned to the promotion tier. A set of key/value pairs that you can attach to a promotion tier object. It can be useful for storing additional information about the promotion tier in a structured format.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            hierarchy

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>The promotions hierarchy defines the order in which the discounts from different tiers will be applied to a customer's order. If a customer qualifies for discounts from more than one tier, discounts will be applied in the order defined in the hierarchy.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            promotion\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Promotion unique ID.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            campaign

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Contains details about promotion tier's parent campaign.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    id

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>Unique campaign ID.</p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    start\_date

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is
                    <em>inactive before</em>
                    this date.
                  </p>

                  <p>
                    <strong>Example:</strong>
                    2022-09-22T00:00:00.000Z
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    expiration\_date

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is
                    <em>inactive after</em>
                    this date.
                  </p>

                  <p>
                    <strong>Example:</strong>
                    2022-09-30T00:00:00.000Z
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>validity\_timeframe</p>
                </td>

                <td>
                  See:
                  <a href="#validity-timeframe">Validity Timeframe</a>
                </td>
              </tr>

              <tr>
                <td>
                  <p>validity\_day\_of\_week</p>
                </td>

                <td>
                  See:
                  <a href="#validity-day-of-week">Validity Day Of Week</a>
                </td>
              </tr>

              <tr>
                <td>
                  <p>validity\_hours</p>
                </td>

                <td>
                  See:
                  <a href="#validity-hours">Validity Hours</a>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    active

                    <br />

                    <code>boolean</code>
                  </p>
                </td>

                <td>
                  <p>
                    A flag indicating whether the campaign is active or not active. A campaign can be disabled even though it's within the active period defined by the
                    <code>start\_date</code>
                    and
                    <code>expiration\_date</code>
                    using the
                    <a href="/api-reference/disable-campaign">Disable Campaign</a>
                    endpoint.
                  </p>

                  <ul>
                    <li>
                      <code>true</code>
                      indicates an
                      <em>active</em>
                      campaign
                    </li>

                    <li>
                      <code>false</code>
                      indicates an
                      <em>inactive</em>
                      campaign
                    </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    category\_id

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>Unique category ID that this campaign belongs to.</p>

                  <p>
                    <strong>Example:</strong>
                    cat\_0b688929a2476386a6
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    object

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>The type of the object represented by the campaign object. This object stores information about the campaign.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            campaign\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Promotion tier's parent campaign's unique ID.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            active

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            A flag to toggle the promotion tier on or off. You can disable a promotion tier even though it's within the active period defined by the
            <code>start\_date</code>
            and
            <code>expiration\_date</code>.
          </p>

          <ul>
            <li>
              <code>true</code>
              indicates an
              <em>active</em>
              promotion tier
            </li>

            <li>
              <code>false</code>
              indicates an
              <em>inactive</em>
              promotion tier
            </li>
          </ul>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            start\_date

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is
            <em>inactive before</em>
            this date.
          </p>

          <p>
            <strong>Example:</strong>
            2022-09-23T00:00:00.000Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            expiration\_date

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is
            <em>inactive after</em>
            this date.
          </p>

          <p>
            <strong>Example:</strong>
            2022-09-26T00:00:00.000Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_timeframe</p>
        </td>

        <td>
          See:
          <a href="#validity-timeframe">Validity Timeframe</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_day\_of\_week</p>
        </td>

        <td>
          See:
          <a href="#validity-day-of-week">Validity Day Of Week</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>validity\_hours</p>
        </td>

        <td>
          See:
          <a href="#validity-hours">Validity Hours</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            summary

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>Contains statistics about promotion tier redemptions and orders.</p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    redemptions

                    <br />

                    <code>object</code>
                  </p>
                </td>

                <td>
                  <p>Contains statistics about promotion tier redemptions.</p>

                  <table>
                    <thead>
                      <tr>
                        <th>Attributes</th>
                        <th>Description</th>
                      </tr>
                    </thead>

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            total\_redeemed

                            <br />

                            <code>integer</code>
                          </p>
                        </td>

                        <td>
                          <p>Number of times the promotion tier was redeemed.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    orders

                    <br />

                    <code>object</code>
                  </p>
                </td>

                <td>
                  <p>Contains statistics about orders related to the promotion tier.</p>

                  <table>
                    <thead>
                      <tr>
                        <th>Attributes</th>
                        <th>Description</th>
                      </tr>
                    </thead>

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            total\_amount

                            <br />

                            <code>integer</code>
                          </p>
                        </td>

                        <td>
                          <p>Sum of order totals.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            total\_discount\_amount

                            <br />

                            <code>integer</code>
                          </p>
                        </td>

                        <td>
                          <p>Sum of total discount applied using the promotion tier.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON. This object stores information about the promotion tier.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>validation\_rule\_assignments</p>
        </td>

        <td>
          See:
          <a href="#validation-rule-assignments-list">Validation Rule Assignments List</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            category\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Promotion tier category ID.</p>

          <p>
            <strong>Example:</strong>
            cat\_0c9da30e7116ba6bba
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            categories

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          Array of
          <a href="#category">Category</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="business-validation-rule-assignment">Business Validation Rule Assignment</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The unique identifier for a assignment</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            rule\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The unique identifier for a rule</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_object\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The unique identifier for a related object</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_object\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of related object</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the object was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-03-09T11:19:04.819Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            updated\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the object was last updated in ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-03-09T11:19:04.819Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON.</p>

          <p>
            Available values:
            <code>validation\_rules\_assignment</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            validation\_status

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The validation status of the assignment</p>

          <p>
            Available values:
            <code>VALID</code>,
            <code>PARTIALLY\_VALID</code>,
            <code>INVALID</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            validation\_omitted\_rules

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>The list of omitted rules</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="discount">Discount</h2>
  <p>Contains information about discount.</p>
  <p>One of:</p>

  <ol>
    <li>
      <a href="#amount">Amount</a>
    </li>

    <li>
      <a href="#unit">Unit</a>
    </li>

    <li>
      <a href="#unit-multiple">Unit Multiple</a>
    </li>

    <li>
      <a href="#percent">Percent</a>
    </li>

    <li>
      <a href="#fixed">Fixed</a>
    </li>
  </ol>

  <h2 id="gift">Gift</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            amount

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>
            Total gift card income over the lifetime of the card. The value is multiplied by 100 to represent 2 decimal places. For example
            <code>10000 cents</code>
            for
            <code>\$100.00</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            subtracted\_amount

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Total amount of subtracted credits over the gift card lifetime.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            balance

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>
            Available funds. The value is multiplied by 100 to represent 2 decimal places. For example
            <code>10000 cents</code>
            for
            <code>\$100.00</code>.
            <code>balance</code>
            \=
            <code>amount</code>
            \-
            <code>subtracted\_amount</code>
            \-
            <code>redemption.redeemed\_amount</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            effect

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines how the credits are applied to the customer's order.</p>

          <p>
            Available values:
            <code>APPLY\_TO\_ORDER</code>,
            <code>APPLY\_TO\_ITEMS</code>
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="campaign-loyalty-card">Campaign Loyalty Card</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            points

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>The initial number of points to assign to the loyalty card. This is the current loyalty card score i.e. the number of loyalty points on the card.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            expiration\_rules

            <br />

            <code>object</code>
          </p>
        </td>

        <td>
          <p>
            Defines the loyalty point expiration rule. This expiration rule applies when there are no
            <code>expiration\_rules</code>
            defined for an earning rule.
          </p>

          <table>
            <thead>
              <tr>
                <th>Attributes</th>
                <th>Description</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                <td>
                  <p>
                    period\_type

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Type of period. Can be set for
                    <code>MONTH</code>
                    or
                    <code>FIXED\_DAY\_OF\_YEAR</code>.
                    <code>MONTH</code>
                    requires the
                    <code>period\_value</code>
                    field.
                    <code>FIXED\_DAY\_OF\_YEAR</code>
                    requires the
                    <code>fixed\_month</code>
                    and
                    <code>fixed\_day</code>
                    fields.
                  </p>

                  <p>
                    Available values:
                    <code>FIXED\_DAY\_OF\_YEAR</code>,
                    <code>MONTH</code>
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    period\_value

                    <br />

                    <code>integer</code>
                  </p>
                </td>

                <td>
                  <p>
                    Value of the period. Required for the
                    <code>period\_type: MONTH</code>.
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    rounding\_type

                    <br />

                    <code>string</code>
                  </p>
                </td>

                <td>
                  <p>
                    Type of rounding of the expiration period. Optional for the
                    <code>period\_type: MONTH</code>.
                  </p>

                  <p>
                    Available values:
                    <code>END\_OF\_MONTH</code>,
                    <code>END\_OF\_QUARTER</code>,
                    <code>END\_OF\_HALF\_YEAR</code>,
                    <code>END\_OF\_YEAR</code>,
                    <code>PARTICULAR\_MONTH</code>
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    rounding\_value

                    <br />

                    <code>integer</code>
                  </p>
                </td>

                <td>
                  <p>
                    Value of rounding of the expiration period. Required for the
                    <code>rounding\_type</code>.
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    fixed\_month

                    <br />

                    <code>integer</code>
                  </p>
                </td>

                <td>
                  <p>
                    Determines the month when the points expire;
                    <code>1</code>
                    is January,
                    <code>2</code>
                    is February, and so on. Required for the
                    <code>period\_type: FIXED\_DAY\_OF\_YEAR</code>.
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    fixed\_day

                    <br />

                    <code>integer</code>
                  </p>
                </td>

                <td>
                  <p>
                    Determines the day of the month when the points expire. Required for the
                    <code>period\_type: FIXED\_DAY\_OF\_YEAR</code>.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="code-config">Code Config</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            length

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>Number of characters in a generated code (excluding prefix and postfix).</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            charset

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Characters that can appear in the code.</p>
          <p>Examples:</p>

          <ul>
            <li>
              Alphanumeric:
              <code>0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</code>
            </li>

            <li>
              Alphabetic:
              <code>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</code>
            </li>

            <li>
              Alphabetic Lowercase:
              <code>abcdefghijklmnopqrstuvwxyz</code>
            </li>

            <li>
              Alphabetic Uppercase:
              <code>ABCDEFGHIJKLMNOPQRSTUVWXYZ</code>
            </li>

            <li>
              Numbers:
              <code>0123456789</code>
            </li>

            <li>Custom: a custom character set</li>
          </ul>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            prefix

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>A text appended before the code.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            postfix

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>A text appended after the code.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            pattern

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>
            A pattern for codes where hashes (#) will be replaced with random characters. Overrides
            <code>length</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            initial\_count

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Internal value, does not change anything if provided.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="areas-and-stores-campain-assignment">Areas and Stores Campain Assignment</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique identifier of the campaign assignment.</p>

          <p>
            <strong>Example:</strong>
            arsca\_0ef5ee192117ae2416
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            area\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique identifier of the area to which the campaign is assigned.</p>

          <p>
            <strong>Example:</strong>
            ar\_0ea6cd7b781b8f857f
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            all\_stores

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>
            Determines if the campaign is assigned to all of the stores in the area, i.e. if an area ID is passed in the
            <code>access\_settings.assign.area\_all\_stores\_ids</code>
            in the request.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            area\_store\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique identifier of the store to which the campaign is assigned.</p>

          <p>
            <strong>Example:</strong>
            ars\_0ec347e2016bed85f4
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Date and time when the assignment was made. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2024-06-25T19:04:16.260Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON. This object stores information about the campaign assignment to areas or stores.</p>

          <p>
            Available values:
            <code>area\_store\_campaign\_assignment</code>
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="validation-rule-assignments-list">Validation Rule Assignments List</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by JSON. This object stores information about validation rule assignments.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data\_ref

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Identifies the name of the JSON property that contains the array of validation rule assignments.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          <p>A dictionary that contains an array of validation rule assignments.</p>
          Array of
          <a href="#validation-rule-assignment">Validation Rule Assignment</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            total

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Total number of validation rule assignments.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="amount">Amount</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines the type of the voucher.</p>

          <p>
            Available values:
            <code>AMOUNT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            amount\_off

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>Amount taken off the subtotal of a price. Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 discount is written as 1000.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            amount\_off\_formula

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Formula used to dynamically calculate the discount.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            aggregated\_amount\_limit

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Maximum discount amount per order.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>effect</p>
        </td>

        <td>
          <p>Defines how the discount is applied to the customer's order.</p>
          <a href="#discount-amount-vouchers-effect-types">Discount Amount Vouchers Effect Types</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            is\_dynamic

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Flag indicating whether the discount was calculated using a formula.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="unit">Unit</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Discount type.</p>

          <p>
            Available values:
            <code>UNIT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            unit\_off

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Number of units to be granted a full value discount.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            unit\_off\_formula

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Formula used to dynamically calculate the number of units.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>effect</p>
        </td>

        <td>
          <p>Defines how the unit is added to the customer's order.</p>
          <a href="#discount-unit-vouchers-effect-types">Discount Unit Vouchers Effect Types</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            unit\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The product deemed as free, chosen from product inventory (e.g. time, items).</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>product</p>
        </td>

        <td>
          <p>Contains information about the product.</p>
          <a href="#simple-product-discount-unit">Simple Product Discount Unit</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>sku</p>
        </td>

        <td>
          See:
          <a href="#simple-sku-discount-unit">Simple Sku Discount Unit</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            is\_dynamic

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Flag indicating whether the discount was calculated using a formula.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="unit-multiple">Unit Multiple</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Discount type.</p>

          <p>
            Available values:
            <code>UNIT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            effect

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines how the discount is applied to the customer's order.</p>

          <p>
            Available values:
            <code>ADD\_MANY\_ITEMS</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            units

            <br />

            <code>array</code>
          </p>
        </td>

        <td>
          Array of
          <a href="#one-unit">One Unit</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="percent">Percent</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines the type of the voucher.</p>

          <p>
            Available values:
            <code>PERCENT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            percent\_off

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>The percent discount that the customer will receive.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            percent\_off\_formula

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Formula used to dynamically calculate the discount.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            amount\_limit

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>Upper limit allowed to be applied as a discount. Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$6 maximum discount is written as 600.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            aggregated\_amount\_limit

            <br />

            <code>integer</code>
          </p>
        </td>

        <td>
          <p>Maximum discount amount per order.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>effect</p>
        </td>

        <td>
          <p>Defines how the discount is applied to the customer's order.</p>
          <a href="#discount-percent-vouchers-effect-types">Discount Percent Vouchers Effect Types</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            is\_dynamic

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Flag indicating whether the discount was calculated using a formula.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="fixed">Fixed</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines the type of the voucher.</p>

          <p>
            Available values:
            <code>FIXED</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            fixed\_amount

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>
            Sets a fixed value for an order total or the item price. The value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 discount is written as 1000. If the fixed amount is calculated by the formula, i.e. the
            <code>fixed\_amount\_formula</code>
            parameter is present in the fixed amount definition, this value becomes the
            <strong>fallback value</strong>.
            As a result, if the formula cannot be calculated due to missing metadata, for example, this value will be used as the fixed value.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            fixed\_amount\_formula

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Formula used to dynamically calculate the discount.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>effect</p>
        </td>

        <td>
          <p>Defines how the discount is applied to the customer's order.</p>
          <a href="#discount-fixed-vouchers-effect-types">Discount Fixed Vouchers Effect Types</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            is\_dynamic

            <br />

            <code>boolean</code>
          </p>
        </td>

        <td>
          <p>Flag indicating whether the discount was calculated using a formula.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="validation-rule-assignment">Validation Rule Assignment</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Validation rule assignment ID.</p>

          <p>
            <strong>Example:</strong>
            asgm\_74F7QZoYbUoljwQO
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            rule\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Validation rule ID.</p>

          <p>
            <strong>Example:</strong>
            val\_4j7DCRm2IS59
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_object\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The resource ID to which the validation rule was assigned.</p>

          <p>
            <strong>Example:</strong>
            v\_JtWunK6jUo7X2qOFj0SyRHq4p9tgENlT
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_object\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of resource to which the validation rule was assigned.</p>

          <p>
            Available values:
            <code>voucher</code>,
            <code>campaign</code>,
            <code>earning\_rule</code>,
            <code>reward\_assignment</code>,
            <code>promotion\_tier</code>,
            <code>distribution</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the validation rule assignment was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-02-17T08:18:15.085Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by the ID.</p>

          <p>
            Available values:
            <code>validation\_rules\_assignment</code>
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="discount-amount-vouchers-effect-types">Discount Amount Vouchers Effect Types</h2>

  <p>
    Available values:
    <code>APPLY\_TO\_ORDER</code>,
    <code>APPLY\_TO\_ITEMS</code>,
    <code>APPLY\_TO\_ITEMS\_PROPORTIONALLY</code>,
    <code>APPLY\_TO\_ITEMS\_PROPORTIONALLY\_BY\_QUANTITY</code>,
    <code>APPLY\_TO\_ITEMS\_BY\_QUANTITY</code>
  </p>

  <h2 id="discount-unit-vouchers-effect-types">Discount Unit Vouchers Effect Types</h2>

  <p>
    Available values:
    <code>ADD\_MISSING\_ITEMS</code>,
    <code>ADD\_NEW\_ITEMS</code>,
    <code>ADD\_MANY\_ITEMS</code>,
    <code>ADD\_SAME\_ITEMS</code>
  </p>

  <h2 id="simple-product-discount-unit">Simple Product Discount Unit</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique product ID, assigned by Voucherify.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            source\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Product's source ID.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Product name.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="simple-sku-discount-unit">Simple Sku Discount Unit</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Unique SKU ID, assigned by Voucherify.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            source\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Product variant's source ID.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Sku name</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="one-unit">One Unit</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            unit\_off

            <br />

            <code>number</code>
          </p>
        </td>

        <td>
          <p>Number of units to be granted a full value discount.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            unit\_off\_formula

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Formula used to dynamically calculate the number of units.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            effect

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Defines how the unit is added to the customer's order.</p>

          <p>
            Available values:
            <code>ADD\_NEW\_ITEMS</code>,
            <code>ADD\_MISSING\_ITEMS</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            unit\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The product deemed as free, chosen from product inventory (e.g. time, items).</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>product</p>
        </td>

        <td>
          <p>Contains information about the product.</p>
          <a href="#simple-product-discount-unit">Simple Product Discount Unit</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>sku</p>
        </td>

        <td>
          <p>Contains information about the sku.</p>
          <a href="#simple-sku-discount-unit">Simple Sku Discount Unit</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="discount-percent-vouchers-effect-types">Discount Percent Vouchers Effect Types</h2>

  <p>
    Available values:
    <code>APPLY\_TO\_ORDER</code>,
    <code>APPLY\_TO\_ITEMS</code>
  </p>

  <h2 id="discount-fixed-vouchers-effect-types">Discount Fixed Vouchers Effect Types</h2>

  <p>
    Available values:
    <code>APPLY\_TO\_ORDER</code>,
    <code>APPLY\_TO\_ITEMS</code>
  </p>
</div>
