with BigCommerce and Sitecreator.io?
Emit new event when a new lead is added to a website. See the docs here
Emit new event when a new newsletter contact is added to a website. See the docs here
The BigCommerce API enables merchants to seamlessly manage their e-commerce operations by automating tasks, syncing data, and integrating with a plethora of other services. With Pipedream, you can tap into the BigCommerce API to create custom workflows that handle everything from order processing to customer relationship management. The result is a more efficient, personalized shopping experience for customers and less manual work for store owners.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bigcommerce: {
type: "app",
app: "bigcommerce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bigcommerce.com/stores/${this.bigcommerce.$auth.store_hash}/v3/catalog/summary`,
headers: {
"X-Auth-Token": `${this.bigcommerce.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sitecreator_io: {
type: "app",
app: "sitecreator_io",
}
},
async run({steps, $}) {
const data = {
"siteUrl": `{your_site_url}`,
}
return await axios($, {
method: "post",
url: `https://api.sitecreator.io/v1/site/checkAvailability`,
headers: {
"Content-Type": `application/json`,
"Your_Api_Key": `${this.sitecreator_io.$auth.api_key}`,
},
data,
})
},
})