WooCommerce is the open-source ecommerce platform for WordPress.
Emit new event when a new loyalty reward has been created in Referrizer.
Emit new event when a new loyalty reward has been redeemed by a contact.
Emit new event each time the specified coupon event(s) occur
Emit new event each time the specified customer event(s) occur
Emit new event each time the specified order event(s) occur
Adds a new loyalty reward to the Referrizer system. See the documentation
Create a visit to an existing contact in Referrizer. See the documentation
WooCommerce is a customizable, open-source eCommerce platform built on WordPress. With the WooCommerce API, you can tap into the heart of your eCommerce store to read, create, update, and delete products, orders, and customers. On Pipedream, you can harness this API to automate routine tasks, sync data across platforms, and enhance customer experiences. By connecting WooCommerce to a wide array of apps and services, you can streamline operations, trigger personalized marketing, and analyze your sales data with greater ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
woocommerce: {
type: "app",
app: "woocommerce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.woocommerce.$auth.url}/wp-json/wc/v2/orders`,
auth: {
username: `${this.woocommerce.$auth.key}`,
password: `${this.woocommerce.$auth.secret}`,
},
})
},
})
The Referrizer API lets you automate the engagement and tracking of your referral marketing campaigns. By integrating with Pipedream, you can stitch the Referrizer API into workflows that streamline your marketing efforts, track referrals, manage rewards, and sync customer data across multiple platforms. Pipedream’s serverless execution model allows you to focus on defining the logic without worrying about the infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referrizer: {
type: "app",
app: "referrizer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.referrizer.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.referrizer.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})