with Dovetail and OTO?
Emit new event when the status of an order changes. See the documentation
Provides detailed information about a specific order. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dovetail: {
type: "app",
app: "dovetail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dovetail.com/api/v1/projects`,
headers: {
Authorization: `Bearer ${this.dovetail.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oto: {
type: "app",
app: "oto",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.oto.$auth.api_url}/rest/v2/accountInfo`,
headers: {
Authorization: `Bearer ${this.oto.$auth.oauth_access_token}`,
},
})
},
})