---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Product Data

Retrieve product data by `product_id`. This call returns product data such as product identifiers, average score, total review count, and more.

> 📘 Product ID
>
> Note that in some parts of the API, `product_id` may be referred to as `external_product_id`

## Product Data - Response Attributes

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Attribute
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`
      </td>

      <td>
        The product ID
      </td>
    </tr>

    <tr>
      <td>
        `external_product_id`
      </td>

      <td>
        The external product ID
      </td>
    </tr>

    <tr>
      <td>
        `name`
      </td>

      <td>
        The product name
      </td>
    </tr>

    <tr>
      <td>
        `url`
      </td>

      <td>
        The product page URL
      </td>
    </tr>

    <tr>
      <td>
        `created_at`
      </td>

      <td>
        The timestamp generated upon product creation
      </td>
    </tr>

    <tr>
      <td>
        `updated_at`
      </td>

      <td>
        The timestamp generated when the product was last updated
      </td>
    </tr>

    <tr>
      <td>
        `average_score`
      </td>

      <td>
        The average star-rating of the product
      </td>
    </tr>

    <tr>
      <td>
        `total_reviews`
      </td>

      <td>
        The total review count of the product
      </td>
    </tr>

    <tr>
      <td>
        `category`
      </td>

      <td>
        The product category
      </td>
    </tr>

    <tr>
      <td>
        `description`
      </td>

      <td>
        The product description
      </td>
    </tr>

    <tr>
      <td>
        `spec`
      </td>

      <td>
        Product specs
      </td>
    </tr>

    <tr>
      <td>
        `images`
      </td>

      <td>
        The product image URL
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/v2/{account_id}/products/{external_product_id}": {
      "get": {
        "summary": "Product Data",
        "description": "Retrieve product data by `product_id`. This call returns product data such as product identifiers, average score, total review count, and more.",
        "operationId": "product-data",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Your account's API app key",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "external_product_id",
            "in": "path",
            "description": "The `external_product_id` of the product. Can be retrieved using [All Products](ref:all-products)",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{\n\tstatus: {\n\t\tcode: 200,\n\t\tmessage: \"ok\"\n\t},\n\tproduct: {\n\t\tid: 1234,\n\t\texternal_product_id: \"prod_1234\",\n\t\tname: \"Yotpo product\",\n\t\turl: \"https://yotpo.com/go/vYxFfr8O\",\n\t\tcreated_at: \"2012-11-19T11:05:36.000Z\",\n\t\tupdated_at: \"2014-11-04T07:00:42.000Z\",\n\t\taverage_score: 3.67,\n\t\ttotal_reviews: 3,\n\t\tcategory: {\n\t\t\tid: 1,\n\t\t\tname: \"Electronics\"\n\t\t},\n\t\tdescription: \"This is a product,\n\t\tspecs: [ ],\n\t\timages: [\n\t\t\t{\n\t\t\t\toriginal: \"https://ddcfq0gxiontw.cloudfront.net/Product/1/1358/original.png?1453893581\",\n\t\t\t\tsquare: \"https://ddcfq0gxiontw.cloudfront.net/Product/1/1358/square.png?1453893581\",\n\t\t\t\tfacebook: \"https://ddcfq0gxiontw.cloudfront.net/Product/1/1358/facebook.png?1453893581\",\n\t\t\t\tfacebook_square: \"https://ddcfq0gxiontw.cloudfront.net/Product/1/1358/facebook_square.png?1453893581\"\n\t\t\t}\n\t\t]\n\t}\n}"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "description": "Request status.",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "The HTTP status code, repeated in the body."
                        },
                        "message": {
                          "type": "string",
                          "description": "`OK` on success."
                        }
                      }
                    },
                    "product": {
                      "type": "object",
                      "description": "The product.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "Yotpo's ID for the product."
                        },
                        "external_product_id": {
                          "type": "string",
                          "description": "The product's ID in the merchant's eCommerce platform."
                        },
                        "name": {
                          "type": "string",
                          "description": "Product name."
                        },
                        "url": {
                          "type": "string",
                          "description": "Product page URL."
                        },
                        "description": {
                          "type": "string",
                          "description": "Product description."
                        },
                        "average_score": {
                          "type": "number",
                          "description": "Average star rating of the product's reviews."
                        },
                        "total_reviews": {
                          "type": "integer",
                          "description": "Number of reviews."
                        },
                        "category": {
                          "type": "object",
                          "description": "The product's category, when set.",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "description": "Category ID."
                            },
                            "name": {
                              "type": "string",
                              "description": "Category name."
                            }
                          }
                        },
                        "images": {
                          "type": "array",
                          "description": "The product images, each in several sizes.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "original": {
                                "type": "string",
                                "format": "uri",
                                "description": "URL of the image at its original size."
                              },
                              "square": {
                                "type": "string",
                                "format": "uri",
                                "description": "URL of a square crop of the image."
                              },
                              "facebook": {
                                "type": "string",
                                "format": "uri",
                                "description": "URL of the image sized for Facebook."
                              },
                              "facebook_square": {
                                "type": "string",
                                "format": "uri",
                                "description": "URL of a square crop sized for Facebook."
                              }
                            }
                          }
                        },
                        "product_specs": {
                          "type": "array",
                          "description": "Product identifiers such as SKU, UPC or brand, when the store sends them.",
                          "items": {
                            "type": "object"
                          }
                        },
                        "created_at": {
                          "type": "string",
                          "description": "When the product was created in Yotpo."
                        },
                        "updated_at": {
                          "type": "string",
                          "description": "When the product was last updated in Yotpo."
                        }
                      }
                    },
                    "pagination": {
                      "description": "Always `null` for this endpoint."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.",
            "content": {
              "application/json": {
                "examples": {
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "OAuth error code: `invalid_request` when no token was sent, `invalid_token` when the token is unknown, revoked or expired.",
                      "enum": [
                        "invalid_request",
                        "invalid_token"
                      ]
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Introduction to Products](https://docs.yotpo.com/reference/partners-introduction-to-products.md)
* [All Products](https://docs.yotpo.com/reference/all-products.md)
* [Promoted Products](https://docs.yotpo.com/reference/promoted-products.md)