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

# Promoted Products

Yotpo's smart algorithm automatically promotes your most popular products by purchase date, star rating, number of reviews, and manually selected products. <a href="https://support.yotpo.com/docs/promoted-products-in-the-reviews-widget-2446379" target="_blank">Promoted Products</a> are a great way to showcase your most popular or complementary products for better exposure.

## Promoted Products Logic

Promoted Products are a great way of automatically publicizing your most popular products based on Yotpo's smart algorithm. Products promoted by Yotpo's algorithm must have been purchased at least once within the last 14 days.

## Promoted Products - Response Attributes

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

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

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

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

    <tr>
      <td>
        `type`
      </td>

      <td>
        The product promotion logic
      </td>
    </tr>

    <tr>
      <td>
        `position`
      </td>

      <td>
        The product ranking
      </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}/promoted_products": {
      "get": {
        "summary": "Promoted Products",
        "description": "Yotpo's smart algorithm automatically promotes your most popular products by purchase date, star rating, number of reviews, and manually selected products. <a href=\"https://support.yotpo.com/docs/promoted-products-in-the-reviews-widget-2446379\" target=\"_blank\">Promoted Products</a> are a great way to showcase your most popular or complementary products for better exposure.",
        "operationId": "promoted-products",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Your account's API app key",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    },\n    \"pagination\": null,\n    \"promoted_products\": {\n        \"products\": [\n            {\n                \"external_product_id\": \"377700207\",\n                \"type\": \"MostBought\",\n                \"position\": 1\n            },\n            {\n                \"external_product_id\": \"11558138316\",\n                \"type\": \"MostBought\",\n                \"position\": 2\n            },\n            {\n                \"external_product_id\": \"11558122956\",\n                \"type\": \"MostBought\",\n                \"position\": 3\n            },\n            {\n                \"external_product_id\": \"11558028940\",\n                \"type\": \"MostBought\",\n                \"position\": 4\n            },\n            {\n                \"external_product_id\": \"11558145036\",\n                \"type\": \"MostBought\",\n                \"position\": 5\n            },\n            {\n                \"external_product_id\": \"6097670982\",\n                \"type\": \"MostBought\",\n                \"position\": 6\n            },\n            {\n                \"external_product_id\": \"92671377420\",\n                \"type\": \"MostBought\",\n                \"position\": 7\n            },\n            {\n                \"external_product_id\": \"92676915212\",\n                \"type\": \"MostBought\",\n                \"position\": 8\n            }\n        ]\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "message": {
                          "type": "string",
                          "example": "OK"
                        }
                      }
                    },
                    "pagination": {},
                    "promoted_products": {
                      "type": "object",
                      "properties": {
                        "products": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "external_product_id": {
                                "type": "string",
                                "example": "377700207"
                              },
                              "type": {
                                "type": "string",
                                "example": "MostBought"
                              },
                              "position": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "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"
                    }
                  },
                  "Feature not enabled": {
                    "summary": "The store doesn't have Promoted Products",
                    "value": {
                      "error": "Feature is disabled WidgetPromotedProducts",
                      "code": 16,
                      "message": "Feature is disabled WidgetPromotedProducts",
                      "details": []
                    }
                  }
                },
                "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."
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    },
                    "code": {
                      "type": "integer",
                      "description": "Internal error code. `16` means the feature is disabled for the store."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "details": {
                      "type": "array",
                      "description": "Extra detail, usually empty.",
                      "items": {}
                    }
                  }
                }
              }
            }
          }
        },
        "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)
* [Product Data](https://docs.yotpo.com/reference/product-data.md)