with Picqer and Channable?
Emit new event when a new stock update is created. See the documentation
Emit new event when a stock update is updated. See the documentation
Emit new event when Picqer sends a webhook matched with selected event. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
picqer: {
type: "app",
app: "picqer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.picqer.$auth.subdomain}.picqer.com/api/v1/users`,
auth: {
username: `${this.picqer.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
channable: {
type: "app",
app: "channable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.channable.com/v2/companies/${this.channable.$auth.company_id}/projects/${this.channable.$auth.project_id}/orders`,
headers: {
Authorization: `Bearer ${this.channable.$auth.api_token}`,
},
})
},
})