POS system
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Using the Revel Systems API, it is possible to access point-of-sale functions
and customer relationship management in a single platform. Businesses can
control customer and transaction data across multiple locations anywhere in the
world.
The API can be used in a variety of different ways to create custom solutions
and applications, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revel_systems: {
type: "app",
app: "revel_systems",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.revel_systems.$auth.subdomain}.revelup.com/resources/OrderItem`,
headers: {
"API-AUTHENTICATION": `${this.revel_systems.$auth.api_key}:${this.revel_systems.$auth.api_secret}`,
},
})
},
})
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)
}