with Mollie and shipcloud?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mollie: {
type: "app",
app: "mollie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mollie.com/v2/payments`,
headers: {
Authorization: `Bearer ${this.mollie.$auth.api_key}`,
},
})
},
})
Shipcloud is a shipping service provider API that streamlines parcel shipping processes for businesses of all sizes. With Shipcloud, you can access multiple carriers, compare shipping rates, create shipping labels, track parcels, and handle returns within a single interface. Utilizing this API on Pipedream enables automation of shipping workflows, leading to efficient and scalable logistics operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shipcloud: {
type: "app",
app: "shipcloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.shipcloud.io/v1/me`,
auth: {
username: `${this.shipcloud.$auth.api_key}`,
password: ``,
},
})
},
})