with Process Street and ShipHero?
Emit new event when an order is allocated. See the documentation
Emit new event when an order is deallocated. See the documentation
The Process Street API empowers you to automate and integrate your checklists and workflows with other apps to streamline business operations. With the API, you can create workflows, manage tasks, trigger actions based on checklist completion, and synchronize data across tools. This paves the way for endless possibilities in terms of project management, compliance tracking, onboarding processes, and routine audits, all managed within the familiar interface of Process Street but supercharged with Pipedream's connectivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
process_street: {
type: "app",
app: "process_street",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.process.st/checklists`,
headers: {
"X-API-KEY": `${this.process_street.$auth.api_key}`,
},
})
},
})
The ShipHero API enables granular control over warehousing and order fulfillment processes, offering endpoints for managing inventory, orders, returns, and shipping. In Pipedream, you can leverage this API to automate routine tasks, sync data across multiple platforms, and trigger actions based on specific events. This can save time, reduce errors, and increase operational efficiency for e-commerce businesses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shiphero: {
type: "app",
app: "shiphero",
}
},
async run({steps, $}) {
const data = {
"query": `{
products {
request_id
data(first: 100) {
edges {
node {
id
sku
name
}
}
}
}
}
`,
}
return await axios($, {
method: "post",
url: `https://public-api.shiphero.com/graphql`,
headers: {
Authorization: `Bearer ${this.shiphero.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})