Phorest

App · 26 actions

Manage salon clients and leads, book and cancel appointments, and follow new bookings and reviews.

Actions

ActionWhat it does
Add a breakBlock out time in a staff member's appointment book, such as lunch.
Add an appointment noteSet the service note on an appointment, which staff see in the appointment book.
Book an appointmentBook a client in for a service with a staff member at a set time.
Cancel a bookingCancel a booking and every appointment in it.
Cancel appointmentsCancel one or more appointments.
Check in a clientCheck a client in for their appointments on a day.
Confirm a client's appointmentsMark a client's appointments on a day as confirmed.
Create a clientAdd a client to the business.
Create a leadAdd a lead: someone interested in the salon who isn't a client yet.
Delete a breakRemove a break from the appointment book.
Find available appointment timesFind the times a service can be booked between two moments, optionally with one staff member.
Get a clientGet one client's details, consents, loyalty points and visits.
Get an appointmentGet one appointment: its service, staff member, time, price and status.
List a client's service historyList the services a client has had, visit by visit.
List appointmentsList a salon's appointments between two dates (at most a month apart), or those changed lately.
List branchesList the business's salons (branches), with their addresses and time zones.
List breaksList the breaks booked in a salon's appointment book between two dates, at most a month apart.
List client categoriesList the categories clients can be put in, such as VIP.
List clientsFind clients by name, email or mobile, or list those changed in a time range.
List leadsList a salon's leads: people interested who aren't clients yet.
List reviewsList the reviews clients left after their visits.
List service categoriesList the categories a salon's services are grouped into.
List servicesList the services a salon offers, with their prices and durations.
List staffList a salon's staff members.
Update a clientChange a client's details.
Update a leadChange a lead's details or status.

Add a break

Block out time in a staff member's appointment book, such as lunch.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Staff memberstaff_idtextRequired
The staff member taking the break.
Datebreak_datedateRequired
The day of the break.
Start timestart_timetimeRequired
When the break starts.
End timeend_timetimeRequired
When the break ends.
Labellabeltext
What the break is for, such as lunch.
Paidpaid_breaktrue/false
On if the break is paid.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "breakDate": "example",
    "breakId": "example",
    "endTime": "example",
    "label": "example",
    "machineId": "example",
    "paidBreak": true,
    "roomId": "example",
    "staffId": "example",
    "startTime": "example",
    "version": 1
  }
}

Add an appointment note

Set the service note on an appointment, which staff see in the appointment book.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Appointment IDappointment_idtextRequired
The appointment, by ID.
NotenotetextRequired
The note.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "noteId": "example",
    "serviceNote": "example"
  }
}

Book an appointment

Book a client in for a service with a staff member at a set time.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Client IDclient_idtextRequired
The client to book, by ID.
Serviceservice_idtextRequired
The service to book.
Staff memberstaff_idtextRequired
The staff member who does the service.
Start timestart_timedate and timeRequired
When the appointment starts.
Room IDroom_idtext
A room to hold, by ID.
Notenotetext
A note on the booking.
Book even if it clashesforce_selected_timetrue/false
On to book the time even if Phorest finds a clash.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "bookingId": "example",
    "bookingStatus": "ACTIVE",
    "clientAppointmentSchedules": [
      {
        "clientId": "example",
        "serviceSchedules": [
          {
            "alternativeStaffMember": true,
            "appointmentId": "example",
            "branchServiceGroupId": "example",
            "clientCourseItemId": "example",
            "endTime": "example",
            "machineId": "example",
            "price": 1,
            "roomId": "example",
            "serviceGroupItemOptionId": "example",
            "serviceId": "example",
            "staffId": "example",
            "staffRequest": true,
            "startTime": "example"
          }
        ]
      }
    ],
    "clientId": "example",
    "note": "example",
    "schedules": [
      {
        "alternativeStaffMember": true,
        "appointmentId": "example",
        "branchServiceGroupId": "example",
        "clientCourseItemId": "example",
        "endTime": "example",
        "machineId": "example",
        "price": 1,
        "roomId": "example",
        "serviceGroupItemOptionId": "example",
        "serviceId": "example",
        "staffId": "example",
        "staffRequest": true,
        "startTime": "example"
      }
    ]
  }
}

Cancel a booking

Cancel a booking and every appointment in it.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Booking IDbooking_idtextRequired
The booking, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {}
}

Cancel appointments

Cancel one or more appointments.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Appointment IDsappointment_idslistRequired
The appointments to cancel, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {}
}

Check in a client

Check a client in for their appointments on a day.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Client IDclient_idtextRequired
The client, by ID.
Datedatedate
The day of the appointments. Leave empty for today.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {}
}

Confirm a client's appointments

Mark a client's appointments on a day as confirmed.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Client IDclient_idtextRequired
The client whose appointments to confirm, by ID.
Datedatedate
The day of the appointments. Leave empty for today.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "appointments": [
        {
          "activationState": "RESERVED",
          "appointmentDate": "example",
          "appointmentId": "example",
          "bookingId": "example",
          "branchId": "example",
          "clientCourseId": "example",
          "clientCourseItemId": "example",
          "clientId": "example",
          "confirmed": true,
          "courseId": "example",
          "courseName": "example",
          "createdAt": "example",
          "deleted": true,
          "depositAmount": 1,
          "depositDateTime": "example",
          "endTime": "example",
          "groupBookingId": "example",
          "internetServiceCategories": [
            {
              "id": "example",
              "name": "example"
            }
          ],
          "isFinishAppointment": true,
          "machineId": "example",
          "notes": "example",
          "parentServiceGroupId": "example",
          "preferredStaff": true,
          "price": 1,
          "purchasingBranchId": "example",
          "roomId": "example",
          "serviceGroupId": "example",
          "serviceGroupItemOptionId": "example",
          "serviceId": "example",
          "serviceName": "example",
          "serviceRewardId": "example",
          "source": "example",
          "staffId": "example",
          "staffRequest": true,
          "startTime": "example",
          "state": "BOOKED",
          "updatedAt": "example",
          "version": 1,
          "waitingListDateTime": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

Create a client

Add a client to the business. Give a mobile number or an email so the salon can reach them.

Inputs

First namefirst_nametextRequired
First name.
Last namelast_nametextRequired
Last name.
Mobilemobiletext
Mobile number, with the country code.
Emailemailtext
Email address.
Landlineland_linetext
Landline number.
Date of birthbirth_datedate
Date of birth.
Gendergendertext
Gender.One of: MALE, FEMALE, NON_BINARY (Non binary), NOT_SPECIFIED (Not specified), PREFER_NOT_TO_SAY (Prefer not to say), UNKNOWN.
Notesnotestext
Notes about the client.
Street addressstreet_address1text
First line of the address.
Street address line 2street_address2text
Second line of the address.
Citycitytext
Town or city.
Statestatetext
State or county.
Postal codepostal_codetext
Postal or ZIP code.
Countrycountrytext
Country.
Marketing textssms_marketing_consenttrue/false
On if the client agreed to marketing texts.
Marketing emailemail_marketing_consenttrue/false
On if the client agreed to marketing email.
Reminder textssms_reminder_consenttrue/false
On if the client agreed to appointment reminders by text.
Reminder emailemail_reminder_consenttrue/false
On if the client agreed to appointment reminders by email.
External IDexternal_idtext
Your own ID for the client, from another system.
Client categoriesclient_category_idslist
The client categories the client belongs to.
Branchcreating_branch_idtext
The salon the client is added at.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state": "example",
      "streetAddress1": "example",
      "streetAddress2": "example"
    },
    "archived": true,
    "banned": true,
    "birthDate": "example",
    "clientCategoryIds": [
      "example"
    ],
    "clientId": "example",
    "clientSince": "example",
    "createdAt": "example",
    "creatingBranchId": "example",
    "creditAccount": {
      "creditDays": 1,
      "creditLimit": 1,
      "outstandingBalance": 1
    },
    "deleted": true,
    "email": "example",
    "emailMarketingConsent": true,
    "emailReminderConsent": true,
    "externalId": "example",
    "firstName": "example",
    "firstVisit": "example",
    "gender": "MALE",
    "hasActiveMembership": true,
    "landLine": "example",
    "lastName": "example",
    "lastVisit": "example",
    "lastVisitedBranchId": "example",
    "linkedClientId": "example",
    "linkedClientMobile": "example",
    "loyaltyCard": {
      "points": 1,
      "serial": "example"
    },
    "mergedToClientId": "example",
    "mobile": "example",
    "notes": "example",
    "photoUrl": "example",
    "preferredStaffId": "example",
    "smsMarketingConsent": true,
    "smsReminderConsent": true,
    "updatedAt": "example",
    "version": 1
  }
}

Create a lead

Add a lead: someone interested in the salon who isn't a client yet.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
First namefirst_nametextRequired
First name.
Last namelast_nametextRequired
Last name.
MobilemobiletextRequired
Mobile number, with the country code.
EmailemailtextRequired
Email address.
Contact by emailcontactable_by_emailtrue/false
On if the salon may email them.
Contact by textcontactable_by_mobiletrue/false
On if the salon may text them.
Marketing opt-inmarketing_opt_intrue/false
On if they agreed to marketing.
Sourcesourcetext
Where the lead came from, such as a website form.
Notenotetext
A note about the lead.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "message": "example",
    "success": true
  }
}

Delete a break

Remove a break from the appointment book.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Break IDbreak_idtextRequired
The break, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {}
}

Find available appointment times

Find the times a service can be booked between two moments, optionally with one staff member.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Serviceservice_idtextRequired
The service to book.
Fromstart_timedate and timeRequired
Earliest start to look at.
Toend_timedate and timeRequired
Latest time to look at.
Staff memberstaff_idtext
Only times with this staff member. Leave empty for anyone.
Client IDclient_idtext
The client it's for, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "data": [
      {
        "clientSchedules": [
          {
            "clientId": "example",
            "serviceSchedules": [
              {
                "alternativeStaffMember": true,
                "appointmentId": "example",
                "branchServiceGroupId": "example",
                "clientCourseItemId": "example",
                "endTime": "example",
                "machineId": "example",
                "price": 1,
                "roomId": "example",
                "serviceGroupItemOptionId": "example",
                "serviceId": "example",
                "staffId": "example",
                "staffRequest": true,
                "startTime": "example"
              }
            ]
          }
        ],
        "startTime": "example"
      }
    ]
  }
}

Get a client

Get one client's details, consents, loyalty points and visits.

Inputs

Client IDclient_idtextRequired
The client, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state": "example",
      "streetAddress1": "example",
      "streetAddress2": "example"
    },
    "archived": true,
    "banned": true,
    "birthDate": "example",
    "clientCategoryIds": [
      "example"
    ],
    "clientId": "example",
    "clientSince": "example",
    "createdAt": "example",
    "creatingBranchId": "example",
    "creditAccount": {
      "creditDays": 1,
      "creditLimit": 1,
      "outstandingBalance": 1
    },
    "deleted": true,
    "email": "example",
    "emailMarketingConsent": true,
    "emailReminderConsent": true,
    "externalId": "example",
    "firstName": "example",
    "firstVisit": "example",
    "gender": "MALE",
    "hasActiveMembership": true,
    "landLine": "example",
    "lastName": "example",
    "lastVisit": "example",
    "lastVisitedBranchId": "example",
    "linkedClientId": "example",
    "linkedClientMobile": "example",
    "loyaltyCard": {
      "points": 1,
      "serial": "example"
    },
    "mergedToClientId": "example",
    "mobile": "example",
    "notes": "example",
    "photoUrl": "example",
    "preferredStaffId": "example",
    "smsMarketingConsent": true,
    "smsReminderConsent": true,
    "updatedAt": "example",
    "version": 1
  }
}

Get an appointment

Get one appointment: its service, staff member, time, price and status.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Appointment IDappointment_idtextRequired
The appointment, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "activationState": "RESERVED",
    "appointmentDate": "example",
    "appointmentId": "example",
    "bookingId": "example",
    "branchId": "example",
    "clientCourseId": "example",
    "clientCourseItemId": "example",
    "clientId": "example",
    "confirmed": true,
    "courseId": "example",
    "courseName": "example",
    "createdAt": "example",
    "deleted": true,
    "depositAmount": 1,
    "depositDateTime": "example",
    "endTime": "example",
    "groupBookingId": "example",
    "internetServiceCategories": [
      {
        "id": "example",
        "name": "example"
      }
    ],
    "isFinishAppointment": true,
    "machineId": "example",
    "notes": "example",
    "parentServiceGroupId": "example",
    "preferredStaff": true,
    "price": 1,
    "purchasingBranchId": "example",
    "roomId": "example",
    "serviceGroupId": "example",
    "serviceGroupItemOptionId": "example",
    "serviceId": "example",
    "serviceName": "example",
    "serviceRewardId": "example",
    "source": "example",
    "staffId": "example",
    "staffRequest": true,
    "startTime": "example",
    "state": "BOOKED",
    "updatedAt": "example",
    "version": 1,
    "waitingListDateTime": "example"
  }
}

List a client's service history

List the services a client has had, visit by visit.

Inputs

Client IDclient_idtextRequired
The client, by ID.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "clientServiceHistories": [
        {
          "bookingId": "example",
          "branchId": "example",
          "clientId": "example",
          "date": "example",
          "notes": "example",
          "services": [
            {
              "appointmentId": "example",
              "cancelled": true,
              "checkedIn": true,
              "clientCourseItemId": "example",
              "depositAmount": 1,
              "depositTime": "example",
              "description": "example",
              "discount": 1,
              "duration": 1,
              "fee": 1,
              "groupBookingId": "example",
              "originalPrice": 1,
              "serviceCategoryId": "example",
              "serviceGroupId": "example",
              "serviceGroupItemOptionId": "example",
              "serviceId": "example",
              "serviceRewardId": "example",
              "staffId": "example",
              "time": "example",
              "waitingList": true
            }
          ],
          "systemNotes": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List appointments

List a salon's appointments between two dates (at most a month apart), or those changed lately.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Fromfrom_datedate
First day to include.
Toto_datedate
Last day to include.
Staff memberstaff_idtext
Only this staff member's appointments.
Client IDclient_idtext
Only this client's appointments, by ID.
Updated afterupdated_fromdate and time
Only appointments changed at or after this time.
Updated beforeupdated_todate and time
Only appointments changed at or before this time.
Include canceledfetch_canceledtrue/false
On to include canceled appointments.
Include notesfetch_notestrue/false
On to include each appointment's notes.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "appointments": [
        {
          "activationState": "RESERVED",
          "appointmentDate": "example",
          "appointmentId": "example",
          "bookingId": "example",
          "branchId": "example",
          "clientCourseId": "example",
          "clientCourseItemId": "example",
          "clientId": "example",
          "confirmed": true,
          "courseId": "example",
          "courseName": "example",
          "createdAt": "example",
          "deleted": true,
          "depositAmount": 1,
          "depositDateTime": "example",
          "endTime": "example",
          "groupBookingId": "example",
          "internetServiceCategories": [
            {
              "id": "example",
              "name": "example"
            }
          ],
          "isFinishAppointment": true,
          "machineId": "example",
          "notes": "example",
          "parentServiceGroupId": "example",
          "preferredStaff": true,
          "price": 1,
          "purchasingBranchId": "example",
          "roomId": "example",
          "serviceGroupId": "example",
          "serviceGroupItemOptionId": "example",
          "serviceId": "example",
          "serviceName": "example",
          "serviceRewardId": "example",
          "source": "example",
          "staffId": "example",
          "staffRequest": true,
          "startTime": "example",
          "state": "BOOKED",
          "updatedAt": "example",
          "version": 1,
          "waitingListDateTime": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List branches

List the business's salons (branches), with their addresses and time zones.

Inputs

Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "branches": [
        {
          "accountId": 1,
          "branchId": "example",
          "city": "example",
          "country": "example",
          "currencyCode": "example",
          "latitude": 1,
          "longitude": 1,
          "name": "example",
          "postalCode": "example",
          "state": "example",
          "streetAddress1": "example",
          "streetAddress2": "example",
          "timeZone": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List breaks

List the breaks booked in a salon's appointment book between two dates, at most a month apart.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Fromfrom_datedateRequired
First day to include.
Toto_datedateRequired
Last day to include.
Staff memberstaff_idtext
Only this staff member's breaks.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "breaks": [
        {
          "breakDate": "example",
          "breakId": "example",
          "endTime": "example",
          "label": "example",
          "machineId": "example",
          "paidBreak": true,
          "roomId": "example",
          "staffId": "example",
          "startTime": "example",
          "version": 1
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List client categories

List the categories clients can be put in, such as VIP.

Inputs

Namenametext
Only categories with this name.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "clientCategories": [
        {
          "archived": true,
          "categoryId": "example",
          "description": "example",
          "discountOffers": true,
          "name": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List clients

Find clients by name, email or mobile, or list those changed in a time range.

Inputs

Emailemailtext
Only the client with this email.
Mobilephonetext
Only the client with this mobile number.
First namefirst_nametext
Only clients with this first name. Start with `~` and end with `%` to match the beginning, such as `~Jo%`.
Last namelast_nametext
Only clients with this last name, matched the same way as the first name.
Updated afterupdated_afterdate and time
Only clients changed after this time.
Updated beforeupdated_beforedate and time
Only clients changed before this time.
External IDexternal_idtext
Only the client with this external ID.
Include archivedinclude_archivedtrue/false
On to include archived clients.
Has a membershiphas_active_membershiptrue/false
On for clients with an active membership only, off for those without.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "clients": [
        {
          "address": {
            "city": "example",
            "country": "example",
            "postalCode": "example",
            "state": "example",
            "streetAddress1": "example",
            "streetAddress2": "example"
          },
          "archived": true,
          "banned": true,
          "birthDate": "example",
          "clientCategoryIds": [
            "example"
          ],
          "clientId": "example",
          "clientSince": "example",
          "createdAt": "example",
          "creatingBranchId": "example",
          "creditAccount": {
            "creditDays": 1,
            "creditLimit": 1,
            "outstandingBalance": 1
          },
          "deleted": true,
          "email": "example",
          "emailMarketingConsent": true,
          "emailReminderConsent": true,
          "externalId": "example",
          "firstName": "example",
          "firstVisit": "example",
          "gender": "MALE",
          "hasActiveMembership": true,
          "landLine": "example",
          "lastName": "example",
          "lastVisit": "example",
          "lastVisitedBranchId": "example",
          "linkedClientId": "example",
          "linkedClientMobile": "example",
          "loyaltyCard": {
            "points": 1,
            "serial": "example"
          },
          "mergedToClientId": "example",
          "mobile": "example",
          "notes": "example",
          "photoUrl": "example",
          "preferredStaffId": "example",
          "smsMarketingConsent": true,
          "smsReminderConsent": true,
          "updatedAt": "example",
          "version": 1
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List leads

List a salon's leads: people interested who aren't clients yet.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Namenametext
Only leads with this first and last name.
Statusesstatuslist
Only leads in these statuses.One or more of: NEW_LEAD (New lead), CONTACT_ATTEMPTED (Contact attempted), CONTACT_MADE (Contact made), INTERESTED, APPOINTMENT_SCHEDULED (Appointment scheduled), CONVERTED, LOST, DELETED.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "leads": [
        {
          "adCampaignName": "example",
          "branchId": "example",
          "businessId": "example",
          "clientId": "example",
          "contactableByEmail": true,
          "contactableByMobile": true,
          "email": "example",
          "emailMarketingOptOut": true,
          "firstName": "example",
          "lastActivityDate": "example",
          "lastName": "example",
          "leadId": 1,
          "messageHistory": [
            {
              "channel": "example",
              "sendDate": "example",
              "type": "example"
            }
          ],
          "mobile": "example",
          "note": "example",
          "smsMarketingOptOut": true,
          "source": "example",
          "status": "NEW_LEAD",
          "updateAction": "MANUAL_UPDATE",
          "updatedBy": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List reviews

List the reviews clients left after their visits.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Client IDclient_idtext
Only this client's reviews, by ID.
Datereview_datedate
Only reviews left on this day.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "reviews": [
        {
          "clientFirstName": "example",
          "clientId": "example",
          "clientLastName": "example",
          "facebookReview": true,
          "rating": 1,
          "reviewDate": "example",
          "reviewId": "example",
          "staffFirstName": "example",
          "staffId": "example",
          "staffLastName": "example",
          "text": "example",
          "twitterReview": true,
          "visitDate": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List service categories

List the categories a salon's services are grouped into.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "serviceCategories": [
        {
          "categoryId": "example",
          "color": 1,
          "description": "example",
          "internetServiceCategories": [
            {
              "id": "example",
              "name": "example"
            }
          ],
          "name": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List services

List the services a salon offers, with their prices and durations.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Categorycategory_idtext
Only services in this category.
Include archivedinclude_archivedtrue/false
On to include archived services.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "services": [
        {
          "addonServiceIds": [
            "example"
          ],
          "archived": true,
          "categoryId": "example",
          "categoryName": "example",
          "department": {
            "id": "example",
            "name": "example"
          },
          "disqualifiedStaff": [
            "example"
          ],
          "duration": 1,
          "finishDuration": 1,
          "gapTime": 1,
          "internetDescription": "example",
          "internetEnabled": true,
          "internetName": "example",
          "internetServiceCategories": [
            {
              "id": "example",
              "name": "example"
            }
          ],
          "isAddonOnly": true,
          "machines": [
            "example"
          ],
          "name": "example",
          "price": 1,
          "rooms": [
            "example"
          ],
          "serviceId": "example",
          "staffCategories": {
            "prices": [
              {
                "id": "example",
                "price": 1
              }
            ]
          },
          "taxRates": [
            "example"
          ],
          "userDurations": [
            {
              "duration": 1,
              "userRef": "example"
            }
          ],
          "userFinishDurations": [
            {
              "duration": 1,
              "userRef": "example"
            }
          ],
          "userGapTimes": [
            {
              "gapTime": 1,
              "userRef": "example"
            }
          ],
          "userPrices": [
            {
              "price": 1,
              "userRef": "example"
            }
          ],
          "version": 1
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

List staff

List a salon's staff members.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Include archivedfetch_archivedtrue/false
On to include staff who have left.
Page sizesizenumber
How many records to return on a page, up to 200. Phorest returns 20 when this is empty.From 1 to 200.
Pagepagenumber
Which page to read, starting at 0 for the first.At least 0.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "_embedded": {
      "staffs": [
        {
          "archived": true,
          "birthDate": "example",
          "branchId": "example",
          "disqualifiedServices": [
            "example"
          ],
          "email": "example",
          "firstName": "example",
          "gender": "example",
          "hideFromAppointmentScreen": true,
          "hideFromOnlineBookings": true,
          "imageUrl": "example",
          "lastName": "example",
          "mobile": "example",
          "notes": "example",
          "onlineProfile": "example",
          "payrollNumber": "example",
          "selfEmployed": true,
          "staffCategoryId": "example",
          "staffCategoryName": "example",
          "staffId": "example",
          "startDate": "example",
          "taxNumber": "example",
          "userId": "example"
        }
      ]
    },
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}

Update a client

Change a client's details. Only the fields filled in change; the rest stay as they are.

Inputs

Client IDclient_idtextRequired
The client, by ID.
First namefirst_nametext
New first name.
Last namelast_nametext
New last name.
Mobilemobiletext
Mobile number, with the country code.
Emailemailtext
Email address.
Landlineland_linetext
Landline number.
Date of birthbirth_datedate
Date of birth.
Gendergendertext
Gender.One of: MALE, FEMALE, NON_BINARY (Non binary), NOT_SPECIFIED (Not specified), PREFER_NOT_TO_SAY (Prefer not to say), UNKNOWN.
Notesnotestext
Notes about the client.
Street addressstreet_address1text
First line of the address.
Street address line 2street_address2text
Second line of the address.
Citycitytext
Town or city.
Statestatetext
State or county.
Postal codepostal_codetext
Postal or ZIP code.
Countrycountrytext
Country.
Marketing textssms_marketing_consenttrue/false
On if the client agreed to marketing texts.
Marketing emailemail_marketing_consenttrue/false
On if the client agreed to marketing email.
Reminder textssms_reminder_consenttrue/false
On if the client agreed to appointment reminders by text.
Reminder emailemail_reminder_consenttrue/false
On if the client agreed to appointment reminders by email.
External IDexternal_idtext
Your own ID for the client, from another system.
Client categoriesclient_category_idslist
The client categories the client belongs to.
Archivedarchivedtrue/false
On to archive the client, off to bring them back.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state": "example",
      "streetAddress1": "example",
      "streetAddress2": "example"
    },
    "archived": true,
    "banned": true,
    "birthDate": "example",
    "clientCategoryIds": [
      "example"
    ],
    "clientId": "example",
    "clientSince": "example",
    "createdAt": "example",
    "creatingBranchId": "example",
    "creditAccount": {
      "creditDays": 1,
      "creditLimit": 1,
      "outstandingBalance": 1
    },
    "deleted": true,
    "email": "example",
    "emailMarketingConsent": true,
    "emailReminderConsent": true,
    "externalId": "example",
    "firstName": "example",
    "firstVisit": "example",
    "gender": "MALE",
    "hasActiveMembership": true,
    "landLine": "example",
    "lastName": "example",
    "lastVisit": "example",
    "lastVisitedBranchId": "example",
    "linkedClientId": "example",
    "linkedClientMobile": "example",
    "loyaltyCard": {
      "points": 1,
      "serial": "example"
    },
    "mergedToClientId": "example",
    "mobile": "example",
    "notes": "example",
    "photoUrl": "example",
    "preferredStaffId": "example",
    "smsMarketingConsent": true,
    "smsReminderConsent": true,
    "updatedAt": "example",
    "version": 1
  }
}

Update a lead

Change a lead's details or status. Only the fields filled in change.

Inputs

Branchbranch_idtextRequired
The salon (branch) to work in.
Lead IDlead_idnumberRequired
The lead, by ID.At least 1.
First namefirst_nametext
New first name.
Last namelast_nametext
New last name.
Mobilemobiletext
New mobile number.
Emailemailtext
New email address.
Statusstatustext
Where the lead is now.One of: NEW_LEAD (New lead), CONTACT_ATTEMPTED (Contact attempted), CONTACT_MADE (Contact made), INTERESTED, APPOINTMENT_SCHEDULED (Appointment scheduled), CONVERTED, LOST, DELETED.
Contact by emailcontactable_by_emailtrue/false
On if the salon may email them.
Contact by textcontactable_by_mobiletrue/false
On if the salon may text them.
Client IDclient_idtext
The client the lead became, by ID.

Outputs

dataobject
The response from Phorest.
Example output
{
  "data": {
    "adCampaignName": "example",
    "branchId": "example",
    "businessId": "example",
    "clientId": "example",
    "contactableByEmail": true,
    "contactableByMobile": true,
    "email": "example",
    "emailMarketingOptOut": true,
    "firstName": "example",
    "lastActivityDate": "example",
    "lastName": "example",
    "leadId": 1,
    "messageHistory": [
      {
        "channel": "example",
        "sendDate": "example",
        "type": "example"
      }
    ],
    "mobile": "example",
    "note": "example",
    "smsMarketingOptOut": true,
    "source": "example",
    "status": "NEW_LEAD",
    "updateAction": "MANUAL_UPDATE",
    "updatedBy": "example"
  }
}

On this page