import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
allocadence: {
type: "app",
app: "allocadence",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.allocadence.com/rest/items`,
auth: {
username: `${this.allocadence.$auth.api_key}`,
password: `${this.allocadence.$auth.api_secret}`,
},
})
},
})
Creates a new customer order. See the documentation
Generates a new purchase order. See the documentation
Allocadence uses API keys for authentication. When you connect your Allocadence account, Pipedream securely stores the keys so you can easily authenticate to Allocadence APIs in both code and no-code steps.
To generate a API Key and Secret pair for a user, visit the API Keys page under Admin Users.