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

# Earning Rule Object

<div class="prose dark:prose-invert custom-html">
  <h2 id="earning-rule">Earning Rule</h2>
  <p>All of:</p>

  <ol>
    <li>
      <a href="#earningrulebase">EarningRuleBase</a>
    </li>

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

        <tbody>
          <tr>
            <td>
              <p>
                validation\_rule\_id

                <br />

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

            <td>
              <p>A unique validation rule identifier assigned by the Voucherify API. The validation rule is verified before points are added to the balance.</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 earning rule was last updated in ISO 8601 format.</p>
            </td>
          </tr>

          <tr>
            <td>
              <p>
                active

                <br />

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

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

              <ul>
                <li>
                  <code>true</code>
                  indicates an active earning rule
                </li>

                <li>
                  <code>false</code>
                  indicates an inactive earning rule
                </li>
              </ul>
            </td>
          </tr>
        </tbody>
      </table>
    </li>
  </ol>

  <h2 id="earningrulebase">EarningRuleBase</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 earning rule 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 earning rule was created. The value is shown in the ISO 8601 format.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>loyalty</p>
        </td>

        <td>
          One of:

          <ol>
            <li>
              <a href="#define-fixed-amount-of-points">Define fixed amount of points</a>
            </li>

            <li>
              <a href="#calculate-points-proportionally">Calculate points proportionally</a>
            </li>
          </ol>
        </td>
      </tr>

      <tr>
        <td>
          <p>event</p>
        </td>

        <td>
          <p>Defines the event which triggers the earning rule to add points to a loyalty card.</p>
          <a href="#earning-rule-event">Earning Rule Event</a>
        </td>
      </tr>

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

            <br />

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

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

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

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

                    <br />

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

                <td>
                  <p>Unique identifier of the custom event schema</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            segment

            <br />

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

        <td>
          <p>
            Contains the ID of a customer segment. Required for the
            <code>customer.segment.entered</code>
            option in the event.
          </p>

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

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

                    <br />

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

                <td>
                  <p>Contains a unique identifier of a customer segment. Assigned by the Voucherify API.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Defines the tier associated with the earning rule definition.</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 loyalty tier ID associated with the earning rule.</p>

                  <ul>
                    <li>
                      <code>**ANY**</code>
                      : any loyalty tier within the campaign
                    </li>
                  </ul>

                  <p>
                    <strong>Example:</strong>
                    ltr\_pudTGWasuIqxdiDM0go31OV1
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>
            Defines the configuration for pending points. Pending points can be used only with the
            <code>order.paid</code>
            event.
          </p>

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

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

                    <br />

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

                <td>
                  <p>
                    Defines the type of the period during which the points are in the pending state. Currently, only
                    <code>DAY</code>
                    value is accepted.
                  </p>

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

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

                    <br />

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

                <td>
                  <p>Defines for how long the points are in the pending state. The minimum value is 1, maximum is 90.</p>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            source

            <br />

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

        <td>
          <p>Contains the custom earning rule name and parent campaign.</p>

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

            <tbody>
              <tr>
                <td>
                  <p>
                    banner

                    <br />

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

                <td>
                  <p>Name of the earning rule. This is displayed as a header for the earning rule in the Dashboard.</p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    object\_id

                    <br />

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

                <td>
                  <p>A unique campaign identifier assigned by the Voucherify API.</p>
                </td>
              </tr>

              <tr>
                <td>
                  <p>
                    object\_type

                    <br />

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

                <td>
                  <p>
                    Defines the object associated with the earning rule. Defaults to
                    <code>campaign</code>.
                  </p>

                  <p>
                    Available values:
                    <code>campaign</code>
                  </p>
                </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. Default is earning\_rule.</p>

          <p>
            Available values:
            <code>earning\_rule</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            automation\_id

            <br />

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

        <td>
          <p>For internal use by Voucherify.</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Start date defines when the earning rule starts to be active. Activation timestamp is presented in the ISO 8601 format. The earning rule is inactive before this date. If you do not define the start date for an earning rule, it will inherit the campaign start date by default.</p>
        </td>
      </tr>

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

            <br />

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

        <td>
          <p>Expiration date defines when the earning rule expires. Expiration timestamp is presented in the ISO 8601 format. The earning rule is inactive after this date. If you do not define the expiration date for an earning rule, it will inherit the campaign expiration date by default.</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>
            metadata

            <br />

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

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

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

        <td>
          See:
          <a href="#earning-rule-expiration-rules">Earning Rule Expiration Rules</a>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="define-fixed-amount-of-points">Define fixed amount of points</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>The number of points to be added to the loyalty card.</p>

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

      <tr>
        <td>
          <p>
            points

            <br />

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

        <td>
          <p>Defines how the points will be added to the loyalty card. FIXED adds a fixed number of points.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            points\_formula

            <br />

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

        <td>
          <p>Formula used to dynamically calculate the rewarded points.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="calculate-points-proportionally">Calculate points proportionally</h2>
  <p>One of:</p>

  <ol>
    <li>
      <a href="#define-amount-of-points-proportional-to-the-order">Define amount of points proportional to the order</a>
    </li>

    <li>
      <a href="#define-amount-of-points-proportional-to-order-items">Define amount of points proportional to order items</a>
    </li>

    <li>
      <a href="#define-amount-of-points-proportional-to-customer-metadata">Define amount of points proportional to customer metadata</a>
    </li>

    <li>
      <a href="#earning-rule-proportional-custom-event">Earning Rule Proportional Custom Event</a>
    </li>
  </ol>

  <h2 id="earning-rule-event">Earning Rule Event</h2>
  <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="earning-rule-expiration-rules">Earning Rule Expiration Rules</h2>

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

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

            <br />

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

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

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

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

            <br />

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

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

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

            <br />

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

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

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

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

            <br />

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

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

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

            <br />

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

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

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

            <br />

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

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

  <h2 id="define-amount-of-points-proportional-to-the-order">Define amount of points proportional to the order</h2>
  <p>One of:</p>

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

    <li>
      <a href="#order-total-amount">Order Total Amount</a>
    </li>

    <li>
      <a href="#order-metadata">Order Metadata</a>
    </li>
  </ol>

  <h2 id="define-amount-of-points-proportional-to-order-items">Define amount of points proportional to order items</h2>
  <p>One of:</p>

  <ol>
    <li>
      <a href="#order-items-quantity">Order Items Quantity</a>
    </li>

    <li>
      <a href="#order-items-amount">Order Items Amount</a>
    </li>

    <li>
      <a href="#order-items-subtotal-amount">Order Items Subtotal Amount</a>
    </li>
  </ol>

  <h2 id="define-amount-of-points-proportional-to-customer-metadata">Define amount of points proportional to customer metadata</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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>CUSTOMER\_METADATA: Customer Metadata (X points for every Y in metadata attribute, defined in the property key under the customer.metadata object)</p>

          <p>
            Available values:
            <code>CUSTOMER\_METADATA</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            customer

            <br />

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

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

            <tbody>
              <tr>
                <td>
                  <p>
                    metadata

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every given increment of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every order metadata property value, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>For how many increments of the customer metadata property to grant points for.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

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

                      <tr>
                        <td>
                          <p>
                            property

                            <br />

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

                        <td>
                          <p>Customer metadata property.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="earning-rule-proportional-custom-event">Earning Rule Proportional Custom Event</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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>CUSTOM\_EVENT\_METADATA: Custom event metadata (X points for every Y in metadata attribute).</p>

          <p>
            Available values:
            <code>CUSTOM\_EVENT\_METADATA</code>
          </p>
        </td>
      </tr>

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

            <br />

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

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

            <tbody>
              <tr>
                <td>
                  <p>
                    metadata

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every given increment of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every order metadata property value, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>For how many increments of the customer metadata property to grant points for.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

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

                      <tr>
                        <td>
                          <p>
                            property

                            <br />

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

                        <td>
                          <p>Custom event metadata property.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-amount">Order 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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>
            <code>ORDER\_AMOUNT</code>
            : Pre-discount order amount (X points for every Y spent excluding discounts)
          </p>

          <p>
            Available values:
            <code>ORDER\_AMOUNT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            order

            <br />

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

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

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

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every set of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every calculation\_type, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 order amount is written as 1000.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

                        <td>
                          <p>Formula used to dynamically calculate the rewarded points.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-total-amount">Order Total 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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>
            <code>ORDER\_TOTAL\_AMOUNT</code>
            : Total order amount (X points for every Y spent including discount)
          </p>

          <p>
            Available values:
            <code>ORDER\_TOTAL\_AMOUNT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            order

            <br />

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

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

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

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every set of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every calculation\_type, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 order amount is written as 1000.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

                        <td>
                          <p>Formula used to dynamically calculate the rewarded points.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-metadata">Order Metadata</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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>
            <code>ORDER\_METADATA</code>
            : Order Metadata (X points for every Y in metadata attribute, defined in the property key under the order.metadata object)
          </p>

          <p>
            Available values:
            <code>ORDER\_METADATA</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            order

            <br />

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

        <td>
          <p>Defines the formula for calculating points proportionally.</p>

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

            <tbody>
              <tr>
                <td>
                  <p>
                    metadata

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every given increment of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every order metadata property value, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>For how many increments of the order metadata property to grant points for.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

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

                      <tr>
                        <td>
                          <p>
                            property

                            <br />

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

                        <td>
                          <p>Order metadata property.</p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-items-quantity">Order Items Quantity</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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>
            <code>ORDER\_ITEMS\_QUANTITY</code>
            : Quantity of items defined in the
            <code>order\_items.quantity.applicable\_to</code>
            array or
            <code>order\_items.quantity.object</code>
            &
            <code>.id</code>
            (X points for every Y items excluding free items).
          </p>

          <p>
            Available values:
            <code>ORDER\_ITEMS\_QUANTITY</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            order\_items

            <br />

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

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

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

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every set of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every calculation\_type, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 order amount is written as 1000.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

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

                      <tr>
                        <td>
                          <p>
                            object

                            <br />

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

                        <td>
                          <p>
                            Type of object which will be covered by the earning rule. This is required together with
                            <code>id</code>.
                            Can be replaced by the
                            <code>applicable\_to</code>
                            array. In response, the value of the first object is returned even if
                            <code>applicable\_to</code>
                            array was used.
                          </p>

                          <p>
                            Available values:
                            <code>products\_collection</code>,
                            <code>product</code>,
                            <code>sku</code>
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            id

                            <br />

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

                        <td>
                          <p>
                            Unique ID of the resource assigned by Voucherify. This is required together with
                            <code>object</code>.
                            Can be replaced by the
                            <code>applicable\_to</code>
                            array. In response, the value of the first object is returned even if
                            <code>applicable\_to</code>
                            array was used. Values are, for example,
                            <code>pc\_75U0dHlr7u75BJodrW1AE3t6</code>
                            for product collection,
                            <code>prod\_0bae32322150fd0546</code>
                            for a product, or
                            <code>sku\_0b7d7dfb090be5c619</code>
                            for a SKU.
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            applicable\_to

                            <br />

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

                        <td>
                          <p>
                            Defines products, SKUs, or product collections covered by the earning rule. Can be replaced by
                            <code>object</code>
                            and
                            <code>id</code>
                            to define only one object.
                          </p>

                          Array of:

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

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

                                    <br />

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

                                <td>
                                  <p>Type of object which will be covered by the earning rule.</p>

                                  <p>
                                    Available values:
                                    <code>products\_collection</code>,
                                    <code>product</code>,
                                    <code>sku</code>
                                  </p>
                                </td>
                              </tr>

                              <tr>
                                <td>
                                  <p>
                                    id

                                    <br />

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

                                <td>
                                  <p>
                                    Unique ID of the resource assigned by Voucherify. Values are, for example,
                                    <code>pc\_75U0dHlr7u75BJodrW1AE3t6</code>
                                    for product collection,
                                    <code>prod\_0bae32322150fd0546</code>
                                    for a product, or
                                    <code>sku\_0b7d7dfb090be5c619</code>
                                    for a SKU.
                                  </p>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-items-amount">Order Items 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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>
            ORDER\_ITEMS\_AMOUNT; Pre-discount amount spent on items defined in the
            <code>order\_items.quantity.applicable\_to</code>
            array or
            <code>order\_items.quantity.object</code>
            &
            <code>.id</code>
            (X points for every Y spent on items excluding discounts)
          </p>

          <p>
            Available values:
            <code>ORDER\_ITEMS\_AMOUNT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            order\_items

            <br />

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

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

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

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every set of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every calculation\_type, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 order amount is written as 1000.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

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

                      <tr>
                        <td>
                          <p>
                            object

                            <br />

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

                        <td>
                          <p>
                            Type of object which will be covered by the earning rule. This is required together with
                            <code>id</code>.
                            Can be replaced by the
                            <code>applicable\_to</code>
                            array. In response, the value of the first object is returned even if
                            <code>applicable\_to</code>
                            array was used.
                          </p>

                          <p>
                            Available values:
                            <code>products\_collection</code>,
                            <code>product</code>,
                            <code>sku</code>
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            id

                            <br />

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

                        <td>
                          <p>
                            Unique ID of the resource assigned by Voucherify. This is required together with
                            <code>object</code>.
                            Can be replaced by the
                            <code>applicable\_to</code>
                            array. In response, the value of the first object is returned even if
                            <code>applicable\_to</code>
                            array was used. Values are, for example,
                            <code>pc\_75U0dHlr7u75BJodrW1AE3t6</code>
                            for product collection,
                            <code>prod\_0bae32322150fd0546</code>
                            for a product, or
                            <code>sku\_0b7d7dfb090be5c619</code>
                            for a SKU.
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            applicable\_to

                            <br />

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

                        <td>
                          <p>
                            Defines products, SKUs, or product collections covered by the earning rule. Can be replaced by
                            <code>object</code>
                            and
                            <code>id</code>
                            to define only one object.
                          </p>

                          Array of:

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

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

                                    <br />

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

                                <td>
                                  <p>Type of object which will be covered by the earning rule.</p>

                                  <p>
                                    Available values:
                                    <code>products\_collection</code>,
                                    <code>product</code>,
                                    <code>sku</code>
                                  </p>
                                </td>
                              </tr>

                              <tr>
                                <td>
                                  <p>
                                    id

                                    <br />

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

                                <td>
                                  <p>
                                    Unique ID of the resource assigned by Voucherify. Values are, for example,
                                    <code>pc\_75U0dHlr7u75BJodrW1AE3t6</code>
                                    for product collection,
                                    <code>prod\_0bae32322150fd0546</code>
                                    for a product, or
                                    <code>sku\_0b7d7dfb090be5c619</code>
                                    for a SKU.
                                  </p>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

  <h2 id="order-items-subtotal-amount">Order Items Subtotal 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 how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio.</p>

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

      <tr>
        <td>
          <p>
            calculation\_type

            <br />

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

        <td>
          <p>ORDER\_ITEMS\_SUBTOTAL\_AMOUNT; Amount spent on items defined in the order\_items.subtotal\_amount.object & .id (X points for every Y spent on items including discounts)</p>

          <p>
            Available values:
            <code>ORDER\_ITEMS\_SUBTOTAL\_AMOUNT</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            order\_items

            <br />

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

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

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

                    <br />

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

                <td>
                  <p>Defines the ratio based on the property defined in the calculation\_type parameter. For every set of value (1, 10, etc) defined in the every parameter for the property defined in calculation\_type, give the customer the number of points defined in the points parameter. In other words, for every calculation\_type, give points.</p>

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

                    <tbody>
                      <tr>
                        <td>
                          <p>
                            every

                            <br />

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

                        <td>
                          <p>Value is multiplied by 100 to precisely represent 2 decimal places. For example, a \$10 order amount is written as 1000.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points

                            <br />

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

                        <td>
                          <p>Number of points to be awarded, i.e. how many points to be added to the loyalty card.</p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            points\_formula

                            <br />

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

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

                      <tr>
                        <td>
                          <p>
                            object

                            <br />

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

                        <td>
                          <p>
                            Type of object which will be covered by the earning rule. This is required together with
                            <code>id</code>.
                            Can be replaced by the
                            <code>applicable\_to</code>
                            array. In response, the value of the first object is returned even if
                            <code>applicable\_to</code>
                            array was used.
                          </p>

                          <p>
                            Available values:
                            <code>products\_collection</code>,
                            <code>product</code>,
                            <code>sku</code>
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            id

                            <br />

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

                        <td>
                          <p>
                            Unique ID of the resource assigned by Voucherify. This is required together with
                            <code>object</code>.
                            Can be replaced by the
                            <code>applicable\_to</code>
                            array. In response, the value of the first object is returned even if
                            <code>applicable\_to</code>
                            array was used. Values are, for example,
                            <code>pc\_75U0dHlr7u75BJodrW1AE3t6</code>
                            for product collection,
                            <code>prod\_0bae32322150fd0546</code>
                            for a product, or
                            <code>sku\_0b7d7dfb090be5c619</code>
                            for a SKU.
                          </p>
                        </td>
                      </tr>

                      <tr>
                        <td>
                          <p>
                            applicable\_to

                            <br />

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

                        <td>
                          <p>
                            Defines products, SKUs, or product collections covered by the earning rule. Can be replaced by
                            <code>object</code>
                            and
                            <code>id</code>
                            to define only one object.
                          </p>

                          Array of:

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

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

                                    <br />

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

                                <td>
                                  <p>Type of object which will be covered by the earning rule.</p>

                                  <p>
                                    Available values:
                                    <code>products\_collection</code>,
                                    <code>product</code>,
                                    <code>sku</code>
                                  </p>
                                </td>
                              </tr>

                              <tr>
                                <td>
                                  <p>
                                    id

                                    <br />

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

                                <td>
                                  <p>
                                    Unique ID of the resource assigned by Voucherify. Values are, for example,
                                    <code>pc\_75U0dHlr7u75BJodrW1AE3t6</code>
                                    for product collection,
                                    <code>prod\_0bae32322150fd0546</code>
                                    for a product, or
                                    <code>sku\_0b7d7dfb090be5c619</code>
                                    for a SKU.
                                  </p>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>
</div>
