Yotpo is an eCommerce marketing platform with the most advanced solutions for customer reviews, visual marketing, loyalty, referrals, and SMS marketing.
Go to siteYotpo's Loyalty & Referrals API makes it easy to create incentives and rewards for your customers, driving relationships and creating loyalty within your brand. Implementing Yotpo's API can help you build programs that nurture the customer relationships and encourage them to re-engage with your store. By linking customer data, you can create personalize programs that cater to each customer's individual needs, strengthening the relationship and driving conversions.
With Yotpo's Loyalty & Referrals API you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yotpo_loyalty_referrals: {
type: "app",
app: "yotpo_loyalty_referrals",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://loyalty.yotpo.com/api/v2/campaigns`,
headers: {
"Content-Type": `application/json`,
"x-guid": `${this.yotpo_loyalty_referrals.$auth.guid}`,
"x-api-key": `${this.yotpo_loyalty_referrals.$auth.api_key}`,
},
})
},
})
Yotpo - Loyalty & Referrals uses API keys for authentication. When you connect your Yotpo - Loyalty & Referrals account, Pipedream securely stores the keys so you can easily authenticate to Yotpo - Loyalty & Referrals APIs in both code and no-code steps.
Yotpo uses a combination of your guid
and api_key
to authenticate requests. You can find your authentication credentials in the Settings page of your Loyalty admin account.