with Orderspace and Apify (OAuth)?
Emit new event when a selected Actor is run and finishes.
Emit new event when a selected task is run and finishes.
Emit new event when an inventory level is updated
import { axios } from "@pipedream/platform" export default defineComponent({ props: { orderspace: { type: "app", app: "orderspace", } }, async run({steps, $}) { return await axios($, { url: `https://api.orderspace.com/v1/customers`, headers: { Authorization: `Bearer ${this.orderspace.$auth.oauth_access_token}`, }, params: { limit: `20`, }, }) }, })
import { axios } from "@pipedream/platform" export default defineComponent({ props: { apify_oauth: { type: "app", app: "apify_oauth", } }, async run({steps, $}) { return await axios($, { url: `https://api.apify.com/v2/users/me`, headers: { Authorization: `Bearer ${this.apify_oauth.$auth.oauth_access_token}`, }, }) }, })