with DEAR Systems and Formatting?
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 when a customer is updated. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format 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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})