with iContact and PHP Point of Sale?
Creates a new register in the store. See the documentation
Creates and dispatches a new message using custom HTML. See the documentation
Deletes a register from PHP Point of Sale. See the documentation
Creates a new contact within the iContact account. See the documentation
Search for registers in PHP Point Of Sale. See the documentation
The iContact API provides a programmable way to manage email marketing campaigns, contacts, lists, and messages within iContact's service. Through this API, you can automate the creation and sending of emails, manage subscribers, and track the performance of your campaigns. When used on Pipedream, the iContact API allows you to create serverless workflows that integrate with other apps and services, trigger actions based on various conditions, and automate repetitive tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
icontact: {
type: "app",
app: "icontact",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.icontact.com/icp/a/${this.icontact.$auth.account_id}/c/${this.icontact.$auth.client_folder_id}`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
"api-version": `2.2`,
"api-appid": `${this.icontact.$auth.api_app_id}`,
"api-username": `${this.icontact.$auth.api_username}`,
"api-password": `${this.icontact.$auth.api_password}`,
},
})
},
})
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}`,
},
})
},
})