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

# Redemption Object

<div class="prose dark:prose-invert custom-html">
  <h2 id="redemption">Redemption</h2>

  <p>
    This is an object representing a redemption for
    <strong>POST</strong>
    <code>v1/redemptions</code>
    and
    <strong>POST</strong>
    <code>/client/v1/redemptions</code>.
  </p>

  <p>All of:</p>

  <ol>
    <li>
      <a href="#redemption-base">Redemption Base</a>
    </li>

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

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

            <td>
              <p>Defines the details of the voucher being redeemed.</p>
              All of:

              <ol>
                <li>
                  <a href="#voucher-with-categories-and-validation-rules-assignments">Voucher with categories and validation rules assignments</a>
                </li>

                <li>
                  <a href="#voucher-holder">Voucher Holder</a>
                </li>
              </ol>
            </td>
          </tr>
        </tbody>
      </table>
    </li>
  </ol>

  <h2 id="redemption-base">Redemption 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 redemption ID.</p>

          <p>
            <strong>Example:</strong>
            r\_0bc92f81a6801f9bca
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

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

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

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

      <tr>
        <td>
          <p>
            date

            <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>
            2021-12-22T10:13:06.487Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            customer\_id

            <br />

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

        <td>
          <p>Unique customer ID of the redeeming customer.</p>

          <p>
            <strong>Example:</strong>
            cust\_i8t5Tt6eiKG5K79KQlJ0Vs64
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            tracking\_id

            <br />

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

        <td>
          <p>Hashed customer source ID.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

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

        <td>
          <p>The metadata object stores all custom attributes assigned to the redemption.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            amount

            <br />

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

        <td>
          <p>
            For gift cards, this is a positive integer in the smallest currency unit (e.g. 100 cents for \$1.00) representing the number of redeemed credits.

            <br />

            For loyalty cards, this is the number of loyalty points used in the transaction.
          </p>

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

      <tr>
        <td>
          <p>
            redemption

            <br />

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

        <td>
          <p>Unique redemption ID of the parent redemption.</p>

          <p>
            <strong>Example:</strong>
            r\_0c656311b5878a2031
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            result

            <br />

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

        <td>
          <p>Redemption result.</p>

          <p>
            Available values:
            <code>SUCCESS</code>,
            <code>FAILURE</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            status

            <br />

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

        <td>
          <p>Redemption status.</p>

          <p>
            Available values:
            <code>SUCCEEDED</code>,
            <code>FAILED</code>,
            <code>ROLLED\_BACK</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            session

            <br />

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

        <td>
          <p>Contains details about the redemption session lock. Sessions can be established only for discount vouchers, promotions, and gift cards.</p>

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

            <tbody>
              <tr>
                <td>
                  <p>
                    key

                    <br />

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

                <td>
                  <p>The session unique ID assigned by Voucherify or your own unique session ID sent in the request.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_redemptions

            <br />

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

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

            <tbody>
              <tr>
                <td>
                  <p>
                    rollbacks

                    <br />

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

                <td>
                  Array of:
                  <h4>Redemption Related Redemptions Rollbacks Item</h4>

                  <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 rollback redemption ID.</p>

                          <p>
                            <strong>Example:</strong>
                            rr\_0bc92f81a6801f9bca
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            date

                            <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>
                            2021-12-22T10:13:06.487Z
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            rollback\_order\_mode

                            <br />

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

                        <td>
                          <p>
                            Defines the rollback mode for the order.
                            <code>WITH\_ORDER</code>
                            is a default setting. The redemption is rolled back together with the data about the order, including related discount values.
                            <code>WITHOUT\_ORDER</code>
                            allows rolling the redemption back without affecting order data, including the applied discount values. This is returned only in GET
                            <code>v1/redemptions/</code>
                            and GET
                            <code>v1/redemptions/{redemptionId}</code>
                            endpoints.
                          </p>

                          <p>
                            Available values:
                            <code>WITH\_ORDER</code>,
                            <code>WITHOUT\_ORDER</code>
                          </p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    redemptions

                    <br />

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

                <td>
                  Array of:
                  <h4>Redemption Related Redemptions Item</h4>

                  <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 redemption ID.</p>

                          <p>
                            <strong>Example:</strong>
                            r\_0bc92f81a6801f9bca
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            date

                            <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>
                            2021-12-22T10:13:06.487Z
                          </p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            failure\_code

            <br />

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

        <td>
          <p>
            If the result is
            <code>FAILURE</code>,
            this parameter will provide a generic reason as to why the redemption failed.
          </p>

          <p>
            <strong>Example:</strong>
            customer\_rules\_violated
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            failure\_message

            <br />

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

        <td>
          <p>
            If the result is
            <code>FAILURE</code>,
            this parameter will provide a more expanded reason as to why the redemption failed.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>order</p>
        </td>

        <td>
          All of:

          <ol>
            <li>
              <a href="#order-calculated-no-customer-data">Order Calculated No Customer Data</a>
            </li>

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

                <tbody>
                  <tr>
                    <td>
                      <p>
                        items

                        <br />

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

                    <td>
                      <p>Array of items applied to the order. It can include up to 500 items.</p>
                    </td>
                  </tr>
                </tbody>
              </table>
            </li>
          </ol>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            channel

            <br />

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

        <td>
          <p>Defines the details of the channel through which the redemption was issued.</p>

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

            <tbody>
              <tr>
                <td>
                  <p>
                    channel\_id

                    <br />

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

                <td>
                  <p>
                    Unique channel ID of the user performing the redemption. This is either a user ID from a user using the Voucherify Dashboard or an X-APP-Id of a user using the API. For
                    <code>AUTO\_REDEEM</code>,
                    it is the reward assignment ID.
                  </p>

                  <p>
                    <strong>Example:</strong>
                    user\_g24UoRO3Caxu7FCT4n5tpYEa3zUG0FrH
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    channel\_type

                    <br />

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

                <td>
                  <p>
                    The source of the channel for the redemption. A
                    <code>USER</code>
                    corresponds to the Voucherify Dashboard,
                    <code>API</code>
                    corresponds to the API, and
                    <code>AUTO\_REDEEM</code>
                    corresponds to a loyalty campaign reward that has been redeemed automatically.
                  </p>

                  <p>
                    Available values:
                    <code>USER</code>,
                    <code>API</code>,
                    <code>AUTO\_REDEEM</code>
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>customer</p>
        </td>

        <td>
          <a href="#simple-customer">Simple Customer</a>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Defines the related object.</p>

          <p>
            Available values:
            <code>voucher</code>,
            <code>promotion\_tier</code>,
            <code>redemption</code>
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Unique related object ID assigned by Voucherify, i.e. v\_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno for a voucher.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>promotion\_tier</p>
        </td>

        <td>
          <p>Contains details of the promotion tier and the parent campaign.</p>
          <a href="#promotion-tier">Promotion Tier</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>reward</p>
        </td>

        <td>
          See:
          <a href="#redemption-reward-result">Redemption Reward Result</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            gift

            <br />

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

        <td>
          <p>Contains the amount subtracted from the gift card for the redemption.</p>

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

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

                    <br />

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

                <td>
                  <p>Amount subtracted from the gift card as a result of the redemption. The amount is expressed as the smallest currency unit (e.g. 100 cents for \$1.00).</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Contains the number of points subtracted from the loyalty card for the redemption.</p>

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

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

                    <br />

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

                <td>
                  <p>Number of points subtracted from the loyalty card as a result of the redemption.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="voucher-with-categories-and-validation-rules-assignments">Voucher with categories and validation rules assignments</h2>

  <p>
    This is an object representing a voucher with categories and validation rules assignments for
    <strong>POST</strong>
    <code>v1/qualifications</code>,
    <strong>POST</strong>
    <code>v1/redemptions</code>,
    and
    <strong>POST</strong>
    <code>v1/validations</code>.
  </p>

  <p>All of:</p>

  <ol>
    <li>
      <a href="#voucher-base">Voucher Base</a>
    </li>

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

        <tbody>
          <tr>
            <td>
              <p>
                categories

                <br />

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

            <td>
              <p>Contains details about the category.</p>
              Array of
              <a href="#category-with-stacking-rules-type">Category with Stacking Rules Type</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="voucher-holder">Voucher Holder</h2>

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

    <tbody>
      <tr>
        <td>
          <p>holder</p>
        </td>

        <td>
          See:
          <a href="#simple-customer">Simple Customer</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-calculated-no-customer-data">Order Calculated No Customer Data</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 ID assigned by Voucherify of an existing order that will be linked to the redemption of this request.</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Unique source ID of an existing order that will be linked to the redemption of this request.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            status

            <br />

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

        <td>
          <p>The order status.</p>

          <p>
            Available values:
            <code>CREATED</code>,
            <code>PAID</code>,
            <code>CANCELED</code>,
            <code>FULFILLED</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            amount

            <br />

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

        <td>
          <p>This is the sum of the order items' amounts. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            initial\_amount

            <br />

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

        <td>
          <p>This is the sum of the order items' amounts before any discount or other effect (e.g. add missing units) is applied. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            discount\_amount

            <br />

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

        <td>
          <p>Sum of all order-level discounts applied to the order. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Sum of all product-specific discounts applied to the order. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Sum of all order-level AND all product-specific discounts applied to the order. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Order amount after undoing all the discounts through the rollback redemption. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>This field shows the order-level discount applied. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            items\_applied\_discount\_amount

            <br />

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

        <td>
          <p>
            Sum of all product-specific discounts applied in a particular request. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).

            <br />

            <code>sum(items, i =>i.applied\_discount\_amount)</code>
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>
            Sum of all order-level AND all product-specific discounts applied in a particular request. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for \$1.00).

            <br />

            <code>total\_applied\_discount\_amount</code>
            \=
            <code>applied\_discount\_amount</code>
            \+
            <code>items\_applied\_discount\_amount</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

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

        <td>
          <p>A set of custom key/value pairs that you can attach to an order. It can be useful for storing additional information about the order in a structured format. It can be used to define business validation rules or discount formulas.</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>order</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 order was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2021-12-22T10:13:06.487Z
          </p>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2021-12-22T10:14:45.316Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            customer\_id

            <br />

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

        <td>
          <p>Unique customer identifier of the customer making the purchase. The ID is assigned by Voucherify.</p>

          <p>
            <strong>Example:</strong>
            cust\_7iUa6ICKyU6gH40dBU25kQU1
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            referrer\_id

            <br />

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

        <td>
          <p>Unique referrer ID.</p>

          <p>
            <strong>Example:</strong>
            cust\_nM4jqPiaXUvQdVSA6vTRUnix
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>customer</p>
        </td>

        <td>
          <a href="#customer-id">Customer Id</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>referrer</p>
        </td>

        <td>
          <a href="#referrer-id">Referrer Id</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            redemptions

            <br />

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

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

            <tbody>
              <tr>
                <td>
                  <p>\[propertyName]</p>
                </td>

                <td>
                  See:
                  <a href="#order-redemptions">Order Redemptions</a>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="simple-customer">Simple Customer</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 an existing customer. It is assigned by Voucherify.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

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

        <td>
          <p>Customer's first and last name.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            email

            <br />

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

        <td>
          <p>Customer's email address.</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>A unique identifier of the customer. It can be a customer ID or email from a CRM system, database, or a third-party service.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

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

        <td>
          <p>A set of custom key/value pairs that are attached to the customer. It stores all custom attributes assigned to the customer.</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>customer</code>
          </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="redemption-reward-result">Redemption Reward Result</h2>

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

    <tbody>
      <tr>
        <td>
          <p>customer</p>
        </td>

        <td>
          <a href="#simple-customer">Simple Customer</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            assignment\_id

            <br />

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

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

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

        <td>
          <a href="#voucher">Voucher</a>
        </td>
      </tr>

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

        <td>
          <a href="#product">Product</a>
        </td>
      </tr>

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

        <td>
          <a href="#sku-object">SKU Object</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            loyalty\_tier\_id

            <br />

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

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

      <tr>
        <td>
          <p>
            id

            <br />

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

        <td>
          <p>Unique reward ID.</p>

          <p>
            <strong>Example:</strong>
            rew\_0bc92f81a6801f9bca
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            name

            <br />

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

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

          <p>
            <strong>Example:</strong>
            Reward Name
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

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

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

          <p>
            Available values:
            <code>reward</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 redemption was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2021-12-22T10:13:06.487Z
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Timestamp in ISO 8601 format indicating when the reward was updated.</p>

          <p>
            <strong>Example:</strong>
            2022-10-03T12:24:58.008Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            parameters

            <br />

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

        <td>
          <p>These are parameters representing a material reward.</p>

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

            <tbody>
              <tr>
                <td>
                  <p>
                    campaign

                    <br />

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

                <td>
                  <p>Defines the product redeemed as a reward.</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>Campaign unique ID.</p>

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

                      <tr>
                        <td>
                          <p>
                            balance

                            <br />

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

                        <td>
                          <p>
                            Points available for reward redemption. This is calculated as follows:
                            <code>balance</code>
                            \=
                            <code>points</code>
                            \-
                            <code>expired\_points</code>
                            \-
                            <code>subtracted\_points</code>
                            \-
                            <code>redemption.redeemed\_points</code>.
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            type

                            <br />

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

                        <td>
                          <p>Defines the type of the campaign.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    product

                    <br />

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

                <td>
                  <p>Defines the product redeemed as a reward.</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 product ID, assigned by Voucherify.</p>

                          <p>
                            <strong>Example:</strong>
                            prod\_0b7d7dfb05cbe5c616
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            sku\_id

                            <br />

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

                        <td>
                          <p>Unique identifier of the SKU. It is assigned by Voucherify.</p>

                          <p>
                            <strong>Example:</strong>
                            sku\_0a41e31c7b41c28358
                          </p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    coin

                    <br />

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

                <td>
                  <p>
                    Defines the ratio by mapping the number of loyalty points in
                    <code>points\_ratio</code>
                    to a predefined cash amount in
                    <code>exchange\_ratio</code>.
                  </p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            exchange\_ratio

                            <br />

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

                        <td>
                          <p>
                            The cash equivalent of the points defined in the
                            <code>points\_ratio</code>
                            property.
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_ratio

                            <br />

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

                        <td>
                          <p>
                            The number of loyalty points that will map to the predefined cash amount defined by the
                            <code>exchange\_ratio</code>
                            property.
                          </p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

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

        <td>
          <p>A set of custom key/value pairs that you can attach to a reward. The metadata object stores all custom attributes assigned to the reward.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            type

            <br />

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

        <td>
          <p>Reward type.</p>

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

  <h2 id="voucher-base">Voucher 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>Assigned by the Voucherify API, identifies the voucher.</p>

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

      <tr>
        <td>
          <p>
            code

            <br />

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

        <td>
          <p>A code that identifies a voucher. Pattern can use all letters of the English alphabet, Arabic numerals, and special characters.</p>

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

      <tr>
        <td>
          <p>
            campaign

            <br />

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

        <td>
          <p>A unique campaign name, identifies the voucher's parent campaign.</p>

          <p>
            <strong>Example:</strong>
            Gift Card Campaign
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Assigned by the Voucherify API, identifies the voucher's parent campaign.</p>

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

      <tr>
        <td>
          <p>
            category

            <br />

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

        <td>
          <p>Tag defining the category that this voucher belongs to. Useful when listing vouchers using the List Vouchers endpoint.</p>
        </td>
      </tr>

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

            <br />

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

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

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

      <tr>
        <td>
          <p>
            type

            <br />

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

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

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

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

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

      <tr>
        <td>
          <p>
            gift

            <br />

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

        <td>
          <p>
            Object representing gift parameters. Child attributes are present only if
            <code>type</code>
            is
            <code>GIFT\_VOUCHER</code>.
            Defaults to
            <code>null</code>.
          </p>

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

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

                    <br />

                    <code>integer</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>

                  <p>
                    <strong>Example:</strong>
                    10000
                  </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. 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>
                    balance

                    <br />

                    <code>integer</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>.
                  </p>

                  <p>
                    <strong>Example:</strong>
                    500
                  </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>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>
            Object representing loyalty card parameters. Child attributes are present only if
            <code>type</code>
            is
            <code>LOYALTY\_CARD</code>.
            Defaults to
            <code>null</code>.
          </p>

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

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

                    <br />

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

                <td>
                  <p>Total number of points added to the loyalty card over its lifespan.</p>

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

              <tr>
                <td>
                  <p>
                    balance

                    <br />

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

                <td>
                  <p>
                    Points available for reward redemption. This is calculated as follows:
                    <code>balance</code>
                    \=
                    <code>points</code>
                    \-
                    <code>expired\_points</code>
                    \-
                    <code>subtracted\_points</code>
                    \-
                    <code>redemption.redeemed\_points</code>.
                  </p>

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

              <tr>
                <td>
                  <p>
                    next\_expiration\_date

                    <br />

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

                <td>
                  <p>The next closest date when the next set of points are due to expire.</p>

                  <p>
                    <strong>Example:</strong>
                    2023-05-30
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    next\_expiration\_points

                    <br />

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

                <td>
                  <p>The amount of points that are set to expire next.</p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    pending\_points

                    <br />

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

                <td>
                  <p>Shows the number of pending points that will be added to the loyalty card when they are activated automatically or manually.</p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    expired\_points

                    <br />

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

                <td>
                  <p>Shows the total number of expired points over the lifetime of the loyalty card.</p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    subtracted\_points

                    <br />

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

                <td>
                  <p>Shows the total number of subtracted points over the lifetime of the loyalty card.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2021-12-01T00:00:00.000Z
          </p>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2021-12-31T00: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>,
            <code>null</code>
          </p>
        </td>

        <td>
          <p>
            A flag to toggle the voucher on or off. You can disable a voucher 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>
              voucher
            </li>

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

      <tr>
        <td>
          <p>
            additional\_info

            <br />

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

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

      <tr>
        <td>
          <p>
            metadata

            <br />

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

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

      <tr>
        <td>
          <p>assets</p>
        </td>

        <td>
          See:
          <a href="#voucher-assets">Voucher Assets</a>
        </td>
      </tr>

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

            <br />

            <code>boolean</code>,
            <code>null</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>
            created\_at

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2021-12-22T10:13:06.487Z
          </p>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2021-12-22T10:14:45.316Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            holder\_id

            <br />

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

        <td>
          <p>Unique customer identifier of the redeemable holder. It equals to the customer ID assigned by Voucherify.</p>

          <p>
            <strong>Example:</strong>
            cust\_eWgXlBBiY6THFRJwX45Iakv4
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            referrer\_id

            <br />

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

        <td>
          <p>Unique identifier of the referring person.</p>

          <p>
            <strong>Example:</strong>
            cust\_Vzck5i8U3OhcEUFY6MKhN9Rv
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

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

        <td>
          <p>
            The type of the object represented by JSON. Default is
            <code>voucher</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            publish

            <br />

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

        <td>
          <p>Stores a summary of publication events: an event counter and endpoint to return details of each event. Publication is an assignment of a code to a customer, e.g. through a distribution.</p>

          <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 is by default
                    <code>list</code>.
                    To get this list, you need to make a call to the endpoint returned in the
                    <code>url</code>
                    attribute.
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    count

                    <br />

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

                <td>
                  <p>Publication events counter.</p>

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

              <tr>
                <td>
                  <p>
                    url

                    <br />

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

                <td>
                  <p>
                    The endpoint where this list of publications can be accessed using a
                    <strong>GET</strong>
                    method.
                    <code>/v1/vouchers/{voucher_code}/publications</code>
                  </p>

                  <p>
                    <strong>Example:</strong>
                    /v1/vouchers/WVPblOYX/publications?page=1\&limit=10
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            redemption

            <br />

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

        <td>
          <p>Stores a summary of redemptions that have been applied to the voucher.</p>

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

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

                    <br />

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

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

              <tr>
                <td>
                  <p>
                    redeemed\_quantity

                    <br />

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

                <td>
                  <p>How many times a voucher has already been redeemed.</p>

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

              <tr>
                <td>
                  <p>
                    redeemed\_points

                    <br />

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

                <td>
                  <p>Total loyalty points redeemed.</p>

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

              <tr>
                <td>
                  <p>
                    object

                    <br />

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

                <td>
                  <p>
                    The type of the object represented is by default
                    <code>list</code>.
                    To get this list, you need to make a call to the endpoint returned in the url attribute.
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    url

                    <br />

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

                <td>
                  <p>
                    The endpoint where this list of redemptions can be accessed using a
                    <strong>GET</strong>
                    method.
                    <code>/v1/vouchers/{voucher_code}/redemptions</code>
                  </p>

                  <p>
                    <strong>Example:</strong>
                    /v1/vouchers/WVPblOYX/redemptions?page=1\&limit=10
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="category-with-stacking-rules-type">Category with Stacking Rules Type</h2>

  <p>
    Category object with
    <code>stacking\_rules\_type</code>
  </p>

  <p>All of:</p>

  <ol>
    <li>
      <a href="#category">Category</a>
    </li>

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

        <tbody>
          <tr>
            <td>
              <p>
                stacking\_rules\_type

                <br />

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

            <td>
              <p>The type of the stacking rule eligibility.</p>

              <p>
                Available values:
                <code>JOINT</code>,
                <code>EXCLUSIVE</code>
              </p>
            </td>
          </tr>
        </tbody>
      </table>
    </li>
  </ol>

  <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="customer-id">Customer Id</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>A unique identifier of an existing customer.</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>customer</code>
          </p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="referrer-id">Referrer Id</h2>

  <p>
    <a href="#customer-id">Customer Id</a>
  </p>

  <h2 id="order-redemptions">Order Redemptions</h2>

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

    <tbody>
      <tr>
        <td>
          <p>
            date

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2022-09-02T17:06:56.649Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            rollback\_id

            <br />

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

        <td>
          <p>Unique ID of the redemption rollback.</p>

          <p>
            <strong>Example:</strong>
            rr\_0c63c84eb78ee0a6c0
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            rollback\_date

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2023-01-31T14:18:37.150Z
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>The source of the incentive.</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Unique ID of the parent redemption.</p>

          <p>
            <strong>Example:</strong>
            r\_0ba186c4824e4881e1
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Represent's the campaign ID of the voucher if the redemption was based on a voucher that was part of bulk codes generated within a campaign. In case of a promotion tier, this represents the campaign ID of the promotion tier's parent campaign.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            stacked

            <br />

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

        <td>
          <p>Contains a list of unique IDs of child redemptions, which belong to the stacked incentives.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            rollback\_stacked

            <br />

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

        <td>
          <p>Lists the rollback redemption IDs of the particular child redemptions.</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="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="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="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="voucher">Voucher</h2>
  <p>This is an object representing a voucher with categories and validation rules assignments.</p>
  <p>All of:</p>

  <ol>
    <li>
      <a href="#voucher-base">Voucher Base</a>
    </li>

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

        <tbody>
          <tr>
            <td>
              <p>
                categories

                <br />

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

            <td>
              <p>Contains details about the category.</p>
              Array of
              <a href="#category">Category</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="product">Product</h2>
  <p>This is an object representing a product.</p>
  <p>This entity should be used to map product items from your inventory management system. The aim of products is to build which reflect product-specific campaigns.</p>
  <p>All of:</p>

  <ol>
    <li>
      <a href="#product-without-skus-object">Product without Skus Object</a>
    </li>

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

        <tbody>
          <tr>
            <td>
              <p>skus</p>
            </td>

            <td>
              See:
              <a href="#skus-list-for-product">Skus List For Product</a>
            </td>
          </tr>
        </tbody>
      </table>
    </li>
  </ol>

  <h2 id="sku-object">SKU Object</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>A unique identifier that represents the SKU and is assigned by Voucherify.</p>

          <p>
            <strong>Example:</strong>
            sku\_0b1621b319d248b79f
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>A unique SKU identifier from your inventory system.</p>

          <p>
            <strong>Example:</strong>
            sku\_source\_id\_4
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            product\_id

            <br />

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

        <td>
          <p>The parent product's unique ID.</p>

          <p>
            <strong>Example:</strong>
            prod\_0b15f6b9f650c16990
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            sku

            <br />

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

        <td>
          <p>Unique user-defined SKU name.</p>

          <p>
            <strong>Example:</strong>
            Large Pink Shirt
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            price

            <br />

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

        <td>
          <p>
            Unit price. It is represented by a value multiplied by 100 to accurately reflect 2 decimal places, such as
            <code>\$100.00</code>
            being expressed as
            <code>10000</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            currency

            <br />

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

        <td>
          <p>SKU price currency.</p>

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

      <tr>
        <td>
          <p>
            attributes

            <br />

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

        <td>
          <p>The attributes object stores values for all custom attributes inherited by the SKU from the parent product. A set of key/value pairs that are attached to a SKU object and are unique to each SKU within a product family.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            image\_url

            <br />

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

        <td>
          <p>The HTTPS URL pointing to the .png or .jpg file that will be used to render the SKU image.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

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

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

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2022-05-17T10:36:30.187Z
          </p>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2022-05-17T10:55:09.137Z
          </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
            <code>SKU</code>.
          </p>

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

  <h2 id="voucher-assets">Voucher Assets</h2>

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

    <tbody>
      <tr>
        <td>
          <p>
            qr

            <br />

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

        <td>
          <p>Stores Quick Response (QR) representation of encrypted code.</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>Encrypted voucher code ID.</p>

                  <p>
                    <strong>Example:</strong>
                    U2FsdGVkX19ucFhvVmBVpVYG5KoswTsjSIaqoKg5L9ie4BK+t4pp7U7oFzjGJzj9q/bmuMOj9mEFiVKDMIkSaruKedMvHbKoPX5Sg+BaZk5QwXMf8k/OzSlOEVybpwSq+AiqPoNtjeuqtIgkDyvT6Q==
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    url

                    <br />

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

                <td>
                  <p>URL to QR code</p>

                  <p>
                    <em>Optional:</em>
                    Attach query parameters to base URL to customize the image of the encrypted voucher code.
                  </p>

                  <ul>
                    <li>
                      <code>size</code>
                      : integer value from
                      <code>1</code>
                      to
                      <code>100</code>
                    </li>

                    <li>
                      <code>format</code>
                      : string, either
                      <code>png</code>
                      (default) or
                      <code>svg</code>
                    </li>
                  </ul>

                  <p>
                    <strong>Example:</strong>
                    [https://dev.dl.voucherify.io/api/v1/assets/qr/U2FsdGVkX19ucFhvVmBVpVYG5KoswTsjSIaqoKg5L9ie4BK%2Bt4pp7U7oFzjGJzj9q%2FbmuMOj9mEFiVKDMIkSaruKedMvHbKoPX5Sg%2BBaZk5QwXMf8k%2FOzSlOEVybpwSq%2BAiqPoNtjeuqtIgkDyvT6Q%3D%3D](https://dev.dl.voucherify.io/api/v1/assets/qr/U2FsdGVkX19ucFhvVmBVpVYG5KoswTsjSIaqoKg5L9ie4BK%2Bt4pp7U7oFzjGJzj9q%2FbmuMOj9mEFiVKDMIkSaruKedMvHbKoPX5Sg%2BBaZk5QwXMf8k%2FOzSlOEVybpwSq%2BAiqPoNtjeuqtIgkDyvT6Q%3D%3D)
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            barcode

            <br />

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

        <td>
          <p>Stores barcode representation of encrypted code.</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>Encrypted voucher code ID.</p>

                  <p>
                    <strong>Example:</strong>
                    U2FsdGVkX19eJhGfWwUrH9+tulBkON+AnMktic+N6CVWzZ9+fHVxuVx22WakrzxiWXy0skuvvEHSeZIw9HlgyIJ+kJ1iPdUKpyENuNYJKzoZlO0mmTf6WQM6/pFs61apEn9SJx32ttCF6d3oxKISQQ==
                  </p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    url

                    <br />

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

                <td>
                  <p>URL to barcode</p>

                  <p>
                    <em>Optional:</em>
                    Attach query parameters to base URL to customize the image of the encrypted voucher code.
                  </p>

                  <ul>
                    <li>
                      <code>size</code>
                      : integer value from
                      <code>1</code>
                      to
                      <code>100</code>
                    </li>

                    <li>
                      <code>format</code>
                      : string, either
                      <code>png</code>
                      (default) or
                      <code>svg</code>
                    </li>
                  </ul>

                  <p>
                    <strong>Example:</strong>
                    [https://dev.dl.voucherify.io/api/v1/assets/barcode/U2FsdGVkX19eJhGfWwUrH9%2BtulBkON%2BAnMktic%2BN6CVWzZ9%2BfHVxuVx22WakrzxiWXy0skuvvEHSeZIw9HlgyIJ%2BkJ1iPdUKpyENuNYJKzoZlO0mmTf6WQM6%2FpFs61apEn9SJx32ttCF6d3oxKISQQ%3D%3D](https://dev.dl.voucherify.io/api/v1/assets/barcode/U2FsdGVkX19eJhGfWwUrH9%2BtulBkON%2BAnMktic%2BN6CVWzZ9%2BfHVxuVx22WakrzxiWXy0skuvvEHSeZIw9HlgyIJ%2BkJ1iPdUKpyENuNYJKzoZlO0mmTf6WQM6%2FpFs61apEn9SJx32ttCF6d3oxKISQQ%3D%3D)
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </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="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="product-without-skus-object">Product without Skus Object</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>

          <p>
            <strong>Example:</strong>
            prod\_0b1da8105693710357
          </p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Unique product source ID.</p>

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

      <tr>
        <td>
          <p>
            name

            <br />

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

        <td>
          <p>Unique user-defined product name.</p>

          <p>
            <strong>Example:</strong>
            T-shirt
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            price

            <br />

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

        <td>
          <p>
            Unit price. It is represented by a value multiplied by 100 to accurately reflect 2 decimal places, such as
            <code>\$100.00</code>
            being expressed as
            <code>10000</code>.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            attributes

            <br />

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

        <td>
          <p>
            A list of product attributes whose values you can customize for given SKUs:
            <code>\["color","size","ranking"]</code>.
            Each child SKU can have a unique value for a given attribute.
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            metadata

            <br />

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

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

      <tr>
        <td>
          <p>
            image\_url

            <br />

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

        <td>
          <p>The HTTPS URL pointing to the .png or .jpg file that will be used to render the product image.</p>

          <p>
            <strong>Example:</strong>
            [https://images.com/original.jpg](https://images.com/original.jpg)
          </p>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2022-05-23T06:52:55.008Z
          </p>
        </td>
      </tr>

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

            <br />

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

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

          <p>
            <strong>Example:</strong>
            2022-05-23T09:24:07.405Z
          </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 product.</p>

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

  <h2 id="skus-list-for-product">Skus List For Product</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 SKUs.</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 SKUs.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            data

            <br />

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

        <td>
          <p>A dictionary that contains an array of SKUs.</p>
          Array of
          <a href="#sku-object">SKU Object</a>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            total

            <br />

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

        <td>
          <p>Total number of SKUs in the product.</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>
