DEAR Inventory is a comprehensive inventory control application positioned as a complete back end management system with product planning, cost and development, manufacturing, sales, shipping and payment features.
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
With the DEAR Systems API, you can build a range of applications that can
automate your business processes. Below are some examples of what you can
build:
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}`,
"Content-Type": `application/json`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}