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

# Product Object

<div class="prose dark:prose-invert custom-html">
  <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="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="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>
</div>
