with BigCommerce and SAP S/4HANA Cloud (Sandbox)?
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: {
sap_s_4hana_cloud_sandbox: {
type: "app",
app: "sap_s_4hana_cloud_sandbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sap_s_4hana_cloud_sandbox.$auth.api_url}/sap/opu/odata/sap/API_PLANNED_ORDERS/A_PlannedOrder`,
headers: {
"accept": `application/json`,
"apikey": `${this.sap_s_4hana_cloud_sandbox.$auth.api_key}`,
},
params: {
"$top": `5`,
"$inlinecount": `allpages`,
"$orderby": `PlannedOrder`,
},
})
},
})