with Databricks (OAuth - Service Principal) and BigCommerce?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
databricks_oauth: {
type: "app",
app: "databricks_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.databricks_oauth.$auth.domain}.cloud.databricks.com/api/2.0/clusters/list`,
headers: {
Authorization: `Bearer ${this.databricks_oauth.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})