with Shopify (OAuth) and AttractWell?
Emit new event when a contact becomes a new member of a vault.
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Emit new event when a new registration for an event takes place.
Emit new event when a lead is gained from a landing page.
Adds a product or products to a custom collection. See the documentation
Creates or updates a contact with the provided identification and contact details.
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
Approves, rejects, or unapproves a lesson in the AttractWell system based on the selected status.
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,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attractwell: {
type: "app",
app: "attractwell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attractwell.com/api/v1/campaigns`,
headers: {
Authorization: `Bearer ${this.attractwell.$auth.oauth_access_token}`,
},
})
},
})