with SAP S/4HANA Cloud and Extensiv Integration Manager?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sap_s_4hana_cloud: {
type: "app",
app: "sap_s_4hana_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sap_s_4hana_cloud.$auth.api_url}/sap/opu/odata/sap/API_PLANNED_ORDERS/A_PlannedOrder`,
headers: {
"accept": `application/json`,
"apikey": `${this.sap_s_4hana_cloud.$auth.api_key}`,
},
params: {
"$top": `5`,
"$inlinecount": `allpages`,
"$orderby": `PlannedOrder`,
"$select": `PlannedOrder`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
extensiv_integration_manager: {
type: "app",
app: "extensiv_integration_manager",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cartrover.com/v1/merchant/inventory`,
auth: {
username: `${this.extensiv_integration_manager.$auth.cartapi_api_user}`,
password: `${this.extensiv_integration_manager.$auth.cartapi_api_key}`,
},
})
},
})