---
updatedAt: 2026-10-29T08:22:22.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# GTIN

GTINs (Global trade item numbers, often called barcodes) are used to match products with external sources. A main use case for this is syndicating product reviews to other platforms or Google PLA.  

Each GTIN is specified using two fields. The `declared type` specifies the GTIN standard and the `value` fields holds the GTIN string value. A `detected_type` will be assigned to each GTIN based on the value format.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Field
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        declared\_type
        (required)
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Valid values:

        * EAN
        * UPC
        * ISBN
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        value\
        (required)
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        The GTIN value.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        detected\_type\
        (read-only)
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Valid values:

        * EAN
        * UPC
        * ISBN

        Automatically detected by the format of the value.
      </td>
    </tr>
  </tbody>
</Table>

> 📘 Note:
>
> A product may have more than one GTIN. However, two GTINs with identical declared type and value cannot be added.

# Sibling pages

* [About common objects](https://docs.yotpo.com/docs/common-objects.md)
* [Line item](https://docs.yotpo.com/docs/line-item.md)