with Order Sender and Amplifier?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
order_sender: {
type: "app",
app: "order_sender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://business.ordersender.com/api/v1/op/check`,
headers: {
"accept": `*/*`,
},
params: {
cod: `${this.order_sender.$auth.company_code}`,
token: `${this.order_sender.$auth.api_token}`,
},
})
},
})
The Amplifier API enables customized fulfillment solutions, including on-demand production and drop-shipping for a variety of products. With this API, you can seamlessly integrate Amplifier's capabilities into your e-commerce platforms, manage inventory, track orders, and handle customer service inquiries with ease. Automating these processes with Pipedream can dramatically increase efficiency, reduce errors, and save time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amplifier: {
type: "app",
app: "amplifier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.amplifier.com/items`,
auth: {
username: `${this.amplifier.$auth.api_key}`,
password: ``,
},
})
},
})