younifyd
Menu

Update Incentive By Review Id 1

Update incentivized reviews by review ID

PUT/v1/apps/{app_key}/reviews/incentivized_badge

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Update Incentive By Review Id 1 action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{updateIncentiveByReviewId1.response.data}}.

Request

Path parameters

app_keystringrequired

The store ID

Query parameters

utokenstringrequired

Your Yotpo account access token. See [Yotpo Authentication](https://apidocs.yotpo.com/reference#yotpo-authentication) to learn how to generate your utoken.

Request body

Enter the body as JSON in the step's Body field.

reviewsarray<object>
review_idinteger (int32)required

The Id of the relevant review

is_incentivizedbooleanrequired

True - the reviewer received a reward for submitting the reward. False - no reward was given for the review

incentive_typestring

The type of incentive given for the review

One offree_productcouponloyalty_pointspaid_promotionemployee_reviewother

json
{
  "reviews": [
    {
      "review_id": 0,
      "is_incentivized": false,
      "incentive_type": "free_product"
    }
  ]
}

Response

Returns 200 with a oneOf. Read it in later steps with {{updateIncentiveByReviewId1.response.data.<field>}}.

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.