with LightSpeed VT and Shopify (OAuth)?
Emit new event every time there is a new user in the system
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Emit new customer data requests for data via a GDPR request.
Creates a new user in the LightSpeed VT system. See the documentation
Adds a product or products to a custom collection. See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
LightSpeed VT is a learning management system (LMS) that provides a platform for delivering interactive training and e-learning experiences. Through the LightSpeed VT API, you can automate access to course catalogs, manage users, track progress and performance, and integrate this data with other systems. On Pipedream, you can leverage this API to create workflows that respond to events in real-time, synchronize training data with other platforms, and enhance the user learning experience with personalized automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lightspeed_vt: {
type: "app",
app: "lightspeed_vt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webservices.lightspeedvt.net/REST/V1/users/`,
auth: {
username: `${this.lightspeed_vt.$auth.api_key}`,
password: `${this.lightspeed_vt.$auth.api_secret}`,
},
})
},
})
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})