with Schedule and Billbee?
Add a shipment to an existing order. See the documentation
Create an invoice for an existing order. See the documentation
Retrieve a specific order by its ID from Billbee. See the documentation
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
billbee: {
type: "app",
app: "billbee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.billbee.io/api/v1/shopaccounts`,
headers: {
"accept": `application/json`,
"x-billbee-api-key": `${this.billbee.$auth.api_key}`,
},
auth: {
username: `${this.billbee.$auth.username}`,
password: `${this.billbee.$auth.api_password}`,
},
params: {
page: `1`,
pageSize: `10`,
},
})
},
})