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`,
},
})
},
})
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
Billbee uses API keys for authentication. When you connect your Billbee account, Pipedream securely stores the keys so you can easily authenticate to Billbee APIs in both code and no-code steps.