WooCommerce is the open-source ecommerce platform for WordPress.
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
Use this endpoint to create new courses in your workspace. See the docs here
Create a user as a member of your campus or add an existing user to it. See the docs here
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}`,
},
})
},
})
Coassemble is a user-friendly training and development platform that lets you create and deliver online courses. The Coassemble API enables the automation of various eLearning tasks, such as user management, course enrollment, and tracking course progress. By leveraging this API within Pipedream, you can streamline educational operations, synchronize educational data with other systems, and create dynamic learning experiences by triggering actions based on course activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
coassemble: {
type: "app",
app: "coassemble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.coassemble.$auth.domain}.coassemble.com/api/v1/members/${this.coassemble.$auth.user_id}`,
headers: {
"Authorization": `COASSEMBLE-V1-SHA256 UserId=${this.coassemble.$auth.user_id} UserToken=${this.coassemble.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})