---
updatedAt: 2026-11-11T07:32:40.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Update incentivized reviews by review ID

Use this endpoint to update the review IDs of reviews that have been given incentives.

> ❗️ Important
>
> You cannot send more than 5,000 review IDs per request.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Reviews API (V1)",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.yotpo.com",
      "description": "Main API server for authenticated and write operations"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Your Yotpo account access token. See [Yotpo Authentication](ref:yotpo-authentication) to learn how to generate your token."
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Missing or invalid access token",
        "content": {
          "application/json": {
            "examples": {
              "Unauthorized": {
                "value": {
                  "status": {
                    "message": "You are not authorized to access this page.",
                    "code": 401,
                    "error_type": "Exceptions::AccessDenied"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Human-readable error message"
                    },
                    "code": {
                      "type": "integer",
                      "description": "HTTP status code"
                    },
                    "error_type": {
                      "type": "string",
                      "description": "Internal error class"
                    }
                  },
                  "description": "Error details."
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "paths": {
    "/v1/apps/{store_id}/reviews/incentivized_badge": {
      "put": {
        "summary": "Update incentivized reviews by review ID",
        "description": "Use this endpoint to update the review IDs of reviews that have been given incentives.",
        "operationId": "update-incentive-by-review-id-1",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "description": "The store ID",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reviews": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "review_id": {
                          "type": "integer",
                          "description": "The Id of the relevant review",
                          "format": "int32"
                        },
                        "is_incentivized": {
                          "type": "boolean",
                          "description": "True - the reviewer received a reward for submitting the reward. False - no reward was given for the review"
                        },
                        "incentive_type": {
                          "type": "string",
                          "description": "The type of incentive given for the review",
                          "enum": [
                            "free_product",
                            "coupon",
                            "loyalty_points",
                            "paid_promotion",
                            "employee_review",
                            "other"
                          ]
                        }
                      },
                      "required": [
                        "review_id",
                        "is_incentivized"
                      ],
                      "type": "object"
                    },
                    "description": "Reviews to update, one entry per review."
                  }
                },
                "required": [
                  "reviews"
                ]
              },
              "examples": {
                "Update incentive flags": {
                  "value": {
                    "reviews": [
                      {
                        "review_id": 82,
                        "is_incentivized": true,
                        "incentive_type": "employee_review"
                      },
                      {
                        "review_id": 97,
                        "is_incentivized": false
                      },
                      {
                        "review_id": 1111,
                        "is_incentivized": true
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "\n{\n   \"status\": {\n       \"code\": 200,\n       \"message\": \"ok\"\n   }\n}\n"
                  },
                  "OK with error in review ID": {
                    "value": "{\n   \"status\": {\n       \"code\": 200,\n       \"message\": \"Reviews were updated partially\"\n   },\n   \"errors\": [\n       {\n           \"error\": \"The following review ids are invalid and were not updated\",\n           \"invalid_reviews_ids\": [\n               1111\n           ]\n       }\n   ]\n}\n"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "integer",
                              "example": 200,
                              "default": 0
                            },
                            "message": {
                              "type": "string",
                              "example": "ok"
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "OK with error in review ID",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "integer",
                              "example": 200,
                              "default": 0
                            },
                            "message": {
                              "type": "string",
                              "example": "Reviews were updated partially"
                            }
                          }
                        },
                        "errors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "error": {
                                "type": "string",
                                "example": "The following review ids are invalid and were not updated"
                              },
                              "invalid_reviews_ids": {
                                "type": "array",
                                "items": {
                                  "type": "integer",
                                  "example": 1111,
                                  "default": 0
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            },
            "headers": {
              "ratelimit-limit": {
                "description": "The maximum number of requests allowed in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-remaining": {
                "description": "The number of requests remaining in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-reset": {
                "description": "The time (in seconds) until the rate limit resets",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-limit-minute": {
                "description": "The maximum number of requests allowed per minute",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-remaining-minute": {
                "description": "The number of requests remaining in the current minute",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Over 100 review IDs sent": {
                    "value": "{\n   \"status\": {\n       \"code\": 400,\n       \"message\": \"failed\"\n   },\n   \"errors\": [\n       {\n           \"error\": \"You cannot exceed more than 100 reviews per request\",\n           \"size\": 101\n       }\n   ]\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 400,
                          "default": 0,
                          "description": "HTTP status code."
                        },
                        "message": {
                          "type": "string",
                          "example": "failed",
                          "description": "What went wrong."
                        }
                      },
                      "description": "Error details."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "error": {
                            "type": "string",
                            "example": "You cannot exceed more than 100 reviews per request",
                            "description": "Error message."
                          },
                          "size": {
                            "type": "integer",
                            "example": 101,
                            "default": 0
                          }
                        }
                      },
                      "description": "Validation errors."
                    }
                  }
                }
              }
            },
            "headers": {
              "ratelimit-limit": {
                "description": "The maximum number of requests allowed in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-remaining": {
                "description": "The number of requests remaining in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-reset": {
                "description": "The time (in seconds) until the rate limit resets",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-limit-minute": {
                "description": "The maximum number of requests allowed per minute",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-remaining-minute": {
                "description": "The number of requests remaining in the current minute",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-Type"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```