Yotpo - Reviews & Ratings

Yotpo is an eCommerce marketing platform with the most advanced solutions for customer reviews, visual marketing, loyalty, referrals, and SMS marketing.

Go to site
Explore
/
Apps
/
Yotpo - Reviews & Ratings

Yotpo - Reviews & Ratings API Integrations

Build and run workflows using the Yotpo - Reviews & Ratings API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    yotpo: {
      type: "app",
      app: "yotpo",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://developers.yotpo.com/v2/${this.yotpo.$auth.app_key}/orders?access_token=${this.yotpo.$auth.oauth_access_token}`,
      headers: {
        Authorization: `Bearer ${this.yotpo.$auth.oauth_access_token}`,
      },
    })
  },
})

Authentication

Yotpo - Reviews & Ratings uses OAuth authentication. When you connect your Yotpo - Reviews & Ratings account, Pipedream will open a popup window where you can sign into Yotpo - Reviews & Ratings and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Yotpo - Reviews & Ratings API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. authorization
    GEThttps://yap.yotpo.com/#/app_market_authorization?app_market_mode&application_id=d870f05a85ac44df86cf77e86d788a87?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}
  2. accessToken
    POSThttps://developers.yotpo.com/v2/oauth2/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}