with DEAR Systems and Shopify (OAuth)?
Emit new event when a purchase order is created and authorized
Emit new event when a sale order is created and authorized
Emit new event when a sale quote is created and authorized
Emit new event when the available stock level changes. See the documentation
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Adds a product or products to a custom collection. See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
DEAR Systems offers an API that provides programmatic access to its inventory management platform, allowing for seamless integration with other apps for automating various business processes. Leveraging this API within Pipedream, you can create custom workflows to synchronize inventory levels, manage sales and purchase orders, and automate financial reporting among other tasks. By connecting DEAR Systems to Pipedream’s vast array of supported apps, you can achieve a high degree of automation, reducing manual entry and data errors, and gaining insights from real-time data processing.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dear: {
type: "app",
app: "dear",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://inventory.dearsystems.com/ExternalApi/v2/me`,
headers: {
"api-auth-accountid": `${this.dear.$auth.account_id}`,
"api-auth-applicationkey": `${this.dear.$auth.application_key}`,
},
})
},
})
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})