with PHP Point of Sale and Ontraport?
Emit new event when a new contact is created. See the docs
Emit new event when a new form is submitted. See the docs
Emit new event when a product is purchased. See the docs
Emit new event when a transaction is created with a product. See the docs
Creates a new register in the store. See the documentation
Deletes a register from PHP Point of Sale. See the documentation
Search for registers in PHP Point Of Sale. See the documentation
The PHP Point of Sale API offers a robust set of features to interact with your sales data, inventory, and customer information, allowing for seamless integration into various business processes. Using Pipedream, you can automate actions based on events in PHP Point of Sale, such as new sales or inventory changes, and connect to countless other services to streamline your retail operations. Pipedream provides a platform to create serverless workflows that can listen for webhooks, run code, and use pre-built actions to interact with the PHP Point of Sale API, all while enabling you to orchestrate data between multiple apps effortlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
php_point_of_sale: {
type: "app",
app: "php_point_of_sale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.php_point_of_sale.$auth.domain}/index.php/api/v1/employees`,
headers: {
"x-api-key": `${this.php_point_of_sale.$auth.api_key}`,
},
})
},
})
Ontraport's API offers robust capabilities for automating business processes, managing customer relationships, and streamlining marketing efforts. Use it to create dynamic, serverless workflows on Pipedream that react to events in real-time, sync data between services, or enhance customer interactions. With this API, you can automate tasks such as updating contact information, tracking customer behaviors, and sending targeted communications, all customizable to your specific business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ontraport: {
type: "app",
app: "ontraport",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ontraport.com/1/Contacts`,
headers: {
"Api-Key": `${this.ontraport.$auth.api_key}`,
"Api-Appid": `${this.ontraport.$auth.api_appid}`,
},
})
},
})