Whether you want to let go of running your own warehouse, or run your warehouse better, you can do both – and so much more – with ShipHero.
Emit new event when an order is allocated. See the documentation.
Emit new event when an order is deallocated. See the documentation.
Emit new event for every new row added in a table. See documentation here
Emit new event when an order is packed out. See the documentation.
Emit new event for every insert
, update
, or delete
operation in a table. This source requires user configuration using the Supabase website. More information in the README. Also see documentation here
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,
})
},
})
Supabase is a real-time backend-as-a-service that provides developers with a suite of tools to quickly build and scale their applications. It offers database storage, authentication, instant APIs, and real-time subscriptions. With the Supabase API, you can perform CRUD operations on your database, manage users, and listen to database changes in real time. When integrated with Pipedream, you can automate workflows that react to these database events, synchronize data across multiple services, or streamline user management processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supabase: {
type: "app",
app: "supabase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.supabase.$auth.subdomain}.supabase.co/rest/v1/`,
headers: {
Authorization: `Bearer ${this.supabase.$auth.service_key}`,
"apikey": `${this.supabase.$auth.service_key}`,
},
})
},
})