PHP Point of Sale Turns your Retail Small Business into a Customer Focused, Profit Generating Machine
Creates a new register in the store. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
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}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})