PHP Point of Sale

The PHP Point of Sale modules allows you to monitor, create, update, retrieve, and delete the customers, employees, suppliers, expenses, sales, and receivings in your PHP Point of Sale account.

Getting Started with PHP Point of Sale

Prerequisites

  • A PHP Point of Sale account

In order to use PHP Point of Sale with Integromat, it is necessary to have a PHP Point of Sale account. If you do not have one, you can create a PHP Point of Sale account at phppointofsale.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting PHP Point of Sale to Integromat

To connect your PHP Point of Sale account to Integromat you need to obtain the API Key from your PHP Point of Sale account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your PHP Point of Sale account.

2. Click Your Account Profile Icon > Settings. Navigate to the API Settings section and click Add API Key.

vpizkv5SVo.gif

3. Enter the details of the API Key, select permissions, and copy the API Key to your clipboard. Click Add API Key.

jXsYcx9ozE.png

4. Go to Integromat and open the PHP Point of Sale module's Create a connection dialog.

jRpjtpc5N3.gif

5. In the Connection name field, enter a name for the connection.

6. In the API Key field, enter the API key details copied in step 3.

7. In the Domain field, enter your PHP Point of Sale account domain name. For example, if your account login URL address is https://demo.phppointofsale.com then your domain is the demo.

8. Click Continue.

The connection has been established.

Customers

Watch Customers

Triggers when a new customer has been added.

ConnectionEstablish a connection to your PHP Point of Sale account.
LimitSet the maximum number of customers Integromat should return during one execution cycle.

Search Customers

Searches for customers or lists them all.

ConnectionEstablish a connection to your PHP Point of Sale account.
Location IDSelect or map the Location ID to search the customer based on the specified location.
Search FieldSelect or map the Field ID to search the customer based on the specified location. For example, First Name.
SearchEnter a word to search the customers that match the specified query.
Sort ColumnSelect or map the option in which you want to sort the customers. For example, First Name.
Sort Direction

Select or map the direction in which you want to list the searched customers:

  • Ascending
  • Descending
LimitSet the maximum number of customers Integromat should return during one execution cycle.

Get a Customer

Retrieves a single customer by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Person IDSelect or map the Person ID whose details you want to retrieve.

Create a Customer

Creates a new customer.

ConnectionEstablish a connection to your PHP Point of Sale account.
First NameEnter (map) the customer's first name.
Last NameEnter (map) the customer's last name.
EmailEnter (map) the customer's email address.
Phone NumberEnter (map) the customer's phone number.
Address 1Enter (map) the customer's street name.
Address 2Enter (map) the customer's street name.
CityEnter (map) the customer's city name.
StateEnter (map) the customer's state name.
ZIPEnter (map) the customer's area ZIP code.
CountryEnter (map) the customer's country name.   
CommentsEnter any additional information about the customer.
Custom FieldsAdd the custom fields and their values.
Company NameEnter the customer's company name.
Tier IDEnter (map) the Tier ID applicable to the customer.
Account NumberEnter (map) the customer's account number.
TaxableSelect whether the customer is taxable.
Tax CertificateEnter (map) the tax certificate details of the customer.
Internal NotesEnter the customer information which you want to share internally.
Override Default TaxSelect whether you want to override the customer's default tax method.
Tax Class IDEnter (map) the ID of the tax group from your account settings.
BalanceEnter (map) the customer's available balance amount in the account.
Credit LimitEnter (map) the credit limit of the customer.
PointsEnter (map) the available rewards or loyalty points of the customer.
Disable LoyaltySelect whether you want to disable the loyalty points for the customer.
Location IDSelect or map the Location ID of the customer.
Customer Info PopupEnter the text that appears in the customer's information pop screen.
Auto Email ReceiptSelect whether you want to send the auto email the customer receipts.
Always SMS ReceiptSelect whether you want to always send the customer receipt as SMS.
Skip WebhookSelect whether you want to skip webhooks for the customer.
Image URLEnter (map) the URL address to the customer profile image.

Update a Customer

Updates a customer-specified by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Person IDSelect or map the Person ID whose details you want to update.
First NameEnter (map) the customer's first name.
Last NameEnter (map) the customer's last name.
EmailEnter (map) the customer's email address.
Phone NumberEnter (map) the customer's phone number.
Address 1Enter (map) the customer's street name.
Address 2Enter (map) the customer's street name.
CityEnter (map) the customer's city name.
StateEnter (map) the customer's state name.
ZIPEnter (map) the customer's area ZIP code.
CountryEnter (map) the customer's country name.   
CommentsEnter any additional information about the customer.
Custom FieldsAdd the custom fields and their values.
Company NameEnter the customer's company name.
Tier IDEnter (map) the Tier ID applicable to the customer.
Account NumberEnter (map) the customer's account number.
TaxableSelect whether the customer is taxable.
Tax CertificateEnter (map) the tax certificate details of the customer.
Internal NotesEnter the customer information which you want to share internally.
Override Default TaxSelect whether you want to override the customer's default tax method.
Tax Class IDEnter (map) the ID of the tax group from your account settings.
BalanceEnter (map) the customer's available balance amount in the account.
Credit LimitEnter (map) the credit limit of the customer.
PointsEnter (map) the available rewards or loyalty points of the customer.
Disable LoyaltySelect whether you want to disable the loyalty points for the customer.
Location IDSelect or map the Location ID of the customer.
Customer Info PopupEnter the text that appears in the customer's information pop screen.
Auto Email ReceiptSelect whether you want to send the auto email the customer receipts.
Always SMS ReceiptSelect whether you want to always send the customer receipt as SMS.
Skip WebhookSelect whether you want to skip webhooks for the customer.
Image URLEnter (map) the URL address to the customer profile image.

Delete a Customer

Deletes a customer.

ConnectionEstablish a connection to your PHP Point of Sale account.
Person IDSelect or map the Person ID you want to delete.

Employees

Search Employees

Searches for employees or lists them all.

ConnectionEstablish a connection to your PHP Point of Sale account.
Location IDSelect or map the Location ID to search the employees that match the specified location.
Search FieldSelect or map the field to search for the employees that match the specified field.
SearchEnter a word to search for the employees that match the specified query.
Sort ColumnSelect or map the option to sort the employees. For example, First Name.
Sort DirectionSelect or map the direction in which you want to list the searched employees:
  • Ascending
  • Descending
LimitSet the maximum number of employees Integromat should return during one execution cycle.

Get an Employee

Retrieves a single employee by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Employee IDSelect or map the Employee ID whose details you want to retrieve.

Create an Employee

Creates a new employee.

ConnectionEstablish a connection to your PHP Point of Sale account.
User NameEnter the employee's username.
EmailEnter the employee's email address.
First NameEnter the employee's first name.
Last NameEnter the employee's last name.
Phone NumberEnter the employee's phone number.
Address 1Enter the employee's address. Enter the street name.
Address 2Enter the street name.
CityEnter the city name.
StateEnter the state name.
ZIPEnter the employee's area zip code.
CountryEnter the country name.
CommentsEnter the additional information about the employee.
Custom FieldsAdd the custom fields for the employee and their values.
PasswordEnter the employee's account login password.
InactiveSelect whether the employee is inactive.
Reason InactiveEnter (map) the reason for inactive.
Hire DateEnter the date on which the employee was hired. See the list of supported date and time formats.
Employee NumberEnter (map) the employee number.
BirthdayEnter the employee's date of birth. See the list of supported date and time formats.
Login Start TimeEnter the employee's shift login start time.
Login End TimeEnter the employee's shift end time.
Termination DateEnter the date on which the employee was terminated. See the list of supported date and time formats.
Force Password Change
Select whether you want the employee to change the password on their next login.
Always Require PasswordSelect whether you want the employee to always provide a password for entering or modifying information in the system.
Not Required to Clock inSelect whether the employee does not require to clock in their shift.
Commission PercentEnter the commission percent applicable for the employee.
Commission Percent TypeSelect or map the employee commission percent type:
  • Selling price
  • Profit
Hourly Pay RateEnter or map the hourly pay rate of the employee.
Default Register IDSelect or map the Default Register ID of the employee.
LanguageSelect or map the language applicable to the employee.
LocationsSelect or map the location access for the employee.
Dark ModeSelect whether the employee has access in dark mode.
Image URLEnter (map) the URL address to the employee profile image.
AppointmentsSelect the employee permissions for the appointments. For example, Add.
CustomersSelect the employee permissions for the customers. For example, Add and update.
DeliveriesSelect the employee permissions for the deliveries. For example, Add and update.
EmployeesSelect the employee permissions for the employees. For example, Add and update.
ExpensesSelect the employee permissions for the expenses. For example, Delete expenses.
GiftcardsSelect the employee permissions for the gift cards. For example, Delete gift cards.
Item Kits

Select the employee permissions for the item kits. For example, Add and Update.

ItemsSelect the employee permissions for the items. For example, Manage categories.
LocationsSelect the employee permissions for the locations:
  • Add Update
  • Delete
  • Search
MessagesSelect the employee permissions for sending the messages.
Price RulesSelect the employee permissions for the price rules. For example, Delete rules.
ReceivingsSelect the employee permissions for the receiving. For example, Delete taxes.
ReportsSelect the employee permissions for the reports. For example, View deliveries.
Sales

Select the employee permissions for the sales. For example, Discounts.

SuppliersSelect the employee permissions for the suppliers:
  • Add Update
  • Delete
  • Edit Store Account Balance
  • Excel Export
  • Search

Update an Employee

Updates an employee specified by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Employee IDSelect or map the Employee ID whose details you want to update.
User NameEnter the employee's username.
EmailEnter the employee's email address.
First NameEnter the employee's first name.
Last NameEnter the employee's last name.
Phone NumberEnter the employee's phone number.
Address 1Enter the employee's address. Enter the street name.
Address 2Enter the street name.
CityEnter the city name.
StateEnter the state name.
ZIPEnter the employee's area zip code.
CountryEnter the country name.
CommentsEnter the additional information about the employee.
Custom FieldsAdd the custom fields for the employee and their values.
PasswordEnter the employee's account login password.
InactiveSelect whether the employee is inactive.
Reason InactiveEnter (map) the reason for inactive.
Hire DateEnter the date on which the employee was hired. See the list of supported date and time formats.
Employee NumberEnter (map) the employee number.
BirthdayEnter the employee's date of birth. See the list of supported date and time formats.
Login Start TimeEnter the employee's shift login start time.
Login End TimeEnter the employee's shift end time.
Termination DateEnter the date on which the employee was terminated. See the list of supported date and time formats.
Force Password Change
Select whether you want the employee to change the password on their next login.
Always Require PasswordSelect whether you want the employee to always provide a password for entering or modifying information in the system.
Not Required to Clock inSelect whether the employee does not require to clock in their shift.
Commission PercentEnter the commission percent applicable for the employee.
Commission Percent TypeSelect or map the employee commission percent type:
  • Selling price
  • Profit
Hourly Pay RateEnter or map the hourly pay rate of the employee.
Default Register IDSelect or map the Default Register ID of the employee.
LanguageSelect or map the language applicable to the employee.
LocationsSelect or map the location access for the employee.
Dark ModeSelect whether the employee has access in dark mode.
Image URLEnter (map) the URL address to the employee profile image.
AppointmentsSelect the employee permissions for the appointments. For example, Add.
CustomersSelect the employee permissions for the customers. For example, Add and update.
DeliveriesSelect the employee permissions for the deliveries. For example, Add and update.
EmployeesSelect the employee permissions for the employees. For example, Add and update.
ExpensesSelect the employee permissions for the expenses. For example, Delete expenses.
GiftcardsSelect the employee permissions for the gift cards. For example, Delete gift cards.
Item Kits

Select the employee permissions for the item kits. For example, Add and Update.

ItemsSelect the employee permissions for the items. For example, Manage categories.
LocationsSelect the employee permissions for the locations:
  • Add Update
  • Delete
  • Search
MessagesSelect the employee permissions for sending the messages.
Price RulesSelect the employee permissions for the price rules. For example, Delete rules.
ReceivingsSelect the employee permissions for the receiving. For example, Delete taxes.
ReportsSelect the employee permissions for the reports. For example, View deliveries.
Sales

Select the employee permissions for the sales. For example, Give discounts.

SuppliersSelect the employee permissions for the suppliers:
  • Add Update
  • Delete
  • Edit Store Account Balance
  • Excel Export
  • Search

Delete an Employee

Deletes an employee specified by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Employee IDSelect or map the Employee ID you want to delete.

Suppliers

Watch Suppliers

Triggers when a new supplier has been added.

ConnectionEstablish a connection to your PHP Point of Sale account.
LimitSet the maximum number of suppliers Integromat should return during one execution cycle.

Search Suppliers

Searches for suppliers or lists them all.

ConnectionEstablish a connection to your PHP Point of Sale account.
Search FieldSelect or map the Field ID to search the supplier based on the specified location. For example, First Name.
SearchEnter a word to search the suppliers that match the specified query.
Sort ColumnSelect or map the option in which you want to sort the suppliers. For example, First Name.
Sort Direction

Select or map the direction in which you want to list the searched suppliers:

  • Ascending
  • Descending
LimitSet the maximum number of suppliers Integromat should return during one execution cycle.

Get a Supplier

Retrieves a single supplier by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Supplier IDSelect or map the Supplier ID whose details you want to retrieve.

Create a Supplier

Creates a new supplier.

ConnectionEstablish a connection to your PHP Point of Sale account.
First NameEnter (map) the supplier's first name.
Company NameEnter (map) the supplier's company name.
Last NameEnter (map) the supplier's last name.
EmailEnter (map) the supplier's email address.
Phone NumberEnter (map) the supplier's phone number.
Address 1Enter (map) the supplier's street name.
Address 2Enter (map) the supplier's street name.
CityEnter (map) the supplier's city name.
StateEnter (map) the supplier's state name.
ZIPEnter (map) the supplier's area ZIP code.
CountryEnter (map) the supplier's country name.
CommentsEnter any additional information about the supplier.
Custom FieldsAdd the custom fields and their values.
Account NumberEnter (map) the supplier's account number.
Override Default TaxSelect whether you want to override the default tax settings of the supplier.
Tax Class IDEnter (map) the supplier's tax Class ID.
BalanceEnter (map) the supplier's balance information.
Image URLEnter (map) the URL address of the supplier's profile image.

Update a Supplier

Updates a supplier specified by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Supplier IDSelect or map the Supplier ID whose details you want to update.
First NameEnter (map) the supplier's first name.
Company NameEnter (map) the supplier's company name.
Last NameEnter (map) the supplier's last name.
EmailEnter (map) the supplier's email address.
Phone NumberEnter (map) the supplier's phone number.
Address 1Enter (map) the supplier's street name.
Address 2Enter (map) the supplier's street name.
CityEnter (map) the supplier's city name.
StateEnter (map) the supplier's state name.
ZIPEnter (map) the supplier's area ZIP code.
CountryEnter (map) the supplier's country name.
CommentsEnter any additional information about the supplier.
Custom FieldsAdd the custom fields and their values.
Account NumberEnter (map) the supplier's account number.
Override Default TaxSelect whether you want to override the default tax settings of the supplier.
Tax Class IDEnter (map) the supplier's tax Class ID.
BalanceEnter (map) the supplier's balance information.
Image URLEnter (map) the URL address of the supplier's profile image.

Delete a Supplier

Deletes a supplier specified by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Supplier IDSelect or map the Supplier ID you want to delete.

Expenses

Search Expenses

Searches for expenses or lists them all.

ConnectionEstablish a connection to your PHP Point of Sale account.
Location IDSelect or map the Location ID to search the expense based on the specified location.
SearchEnter a word to search the expenses that match the specified query.
Sort ColumnSelect or map the option in which you want to sort the expenses. For example, First Name.
Sort DirectionSelect or map the direction in which you want to list the searched expenses:
  • Ascending
  • Descending
LimitSet the maximum number of expenses Integromat should return during one execution cycle.

Get an Expense

Retrieves a single expense by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Expense IDSelect or map the Expense ID whose details you want to retrieve.

Create an Expense

Creates a new expense.

ConnectionEstablish a connection to your PHP Point of Sale account.
Location IDSelect or map the Location ID to search the expense based on the specified location.
Category IDSelect or map the expense Category ID. For example, 1.
Expense TypeEnter (map) the expense type. For example, utilities.
Expense DescriptionEnter (map) the details of the expense.
Expense ReasonEnter (map) the reasons for the expense.
Expense DateEnter (map) the date on which the expense was made. See the list of supported date and time formats.
Expense AmountEnter (map) the amount of the expense.
Expense TaxEnter (map) the tax applicable to the expense.
Expense NoteEnter (map) the additional information about the expense.
Employee IDSelect or map the Employee ID associated with the expense.
Approved Employee IDSelect or map the Employee ID who has approved the expense.
Expense Payment TypeSelect or map the expense payment method:
  • Cash
  • Check
  • Gift Card
  • Debit Card
  • Credit Card
  • Store Account
  • Points

Update an Expense

Updates an expense specified by ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Expense IDSelect or map the Expense ID whose details you want to update.
Location IDSelect or map the Location ID to search the expense based on the specified location.
Category IDSelect or map the expense Category ID. For example, 1.
Expense TypeEnter (map) the expense type. For example, utilities.
Expense DescriptionEnter (map) the details of the expense.
Expense ReasonEnter (map) the reasons for the expense.
Expense DateEnter (map) the date on which the expense was made. See the list of supported date and time formats.
Expense AmountEnter (map) the amount of the expense.
Expense TaxEnter (map) the tax applicable to the expense.
Expense NoteEnter (map) the additional information about the expense.
Employee IDSelect or map the Employee ID associated with the expense.
Approved Employee IDSelect or map the Employee ID who has approved the expense.
Expense Payment TypeSelect or map the expense payment method:
  • Cash
  • Check
  • Gift Card
  • Debit Card
  • Credit Card
  • Store Account
  • Points

Delete an Expense

Deletes an expense specified y ID.

ConnectionEstablish a connection to your PHP Point of Sale account.
Expense IDSelect or map the Expense ID you want to delete.

Receivings

Watch Receivings

Triggers when a new receiving has been added.

ConnectionEstablish a connection to your PHP Point of Sale account.
LimitSet the maximum number of receivings Integromat should return during one execution cycle.

Sales

Watch Sales

Triggers when a new sale has been added.

ConnectionEstablish a connection to your PHP Point of Sale account.
LimitSet the maximum number of sales Integromat should return during one execution cycle.

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your PHP Point of Sale account.
URL

Enter a path relative to https://integrodoc.phppointofsale.com/index.php/api. For example: /v1/customers.

For the list of available endpoints, refer to the PHP Point of Sale API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we've already done that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Suppliers

The following API call returns all the suppliers from your PHP Point of Sale account:

URL:
/v1/suppliers

Method:
GET

34tgPw5Qxq.png

Matches of the search can be found in the module's Output under BundleBody
In our example, 3 suppliers were returned:

cxtnGiRg05.png

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.