Easyteam Retail
  1. Schedules
Easyteam Retail
  • Home
  • Staff Management
    • List all staff
      GET
    • Add a new staff member
      POST
    • Retrieve staff details
      GET
    • Update staff details
      PUT
    • Delete a staff member
      DELETE
  • Time Tracking
    • Clock-in for a shift
      POST
    • Clock-out from a shift
      POST
    • Start a break
      POST
    • End a break
      POST
  • Timesheets
    • Retrieve timesheets
      GET
    • Retrieve a staff member's timesheet
      GET
    • Adjust a timesheet
      PUT
    • Retrieve late staff
      GET
  • Schedules
    • Retrieve schedules
      GET
    • Create a new schedule
      POST
    • Retrieve schedule details
      GET
    • Update schedule details
      PUT
    • Delete a schedule
      DELETE
    • Export schedule data
      GET
    • Retrieve AI store traffic
      GET
  • Commissions
    • List all commission plans
      GET
    • Add a new commission plan
      POST
    • Update a commission plan
      PUT
    • Delete a commission plan
      DELETE
    • Retrieve commission reports
      GET
    • Change order attribution
      PUT
    • AI insights for sales increases
      GET
  • Sales Performance
    • Retrieve sales performance by location
    • Set sales goals
    • Check location goal status
    • AI-based sales goal prediction
    • Retrieve top-performing staff
  • Payroll Management
    • Retrieve payroll by location
    • Process payroll for a timeframe
    • Retrieve payroll history
    • Retrieve pay slips
    • Retrieve tax details
    • Onboard staff to payroll
    • Terminate staff payroll
  • Checklists
    • Retrieve all checklists
    • Create a new checklist
    • Update a checklist
    • Delete a checklist
    • Check a task inside a checklist
    • Webhook for pending checklists
  1. Schedules

Retrieve AI store traffic

GET
/schedules/traffic-ai
Schedules
Retrieve predicted store traffic per hour by location and date.

Request

Query Params
location_id
string 
required
The ID of the location to retrieve traffic data for.
date
string <date>
required
The date to retrieve store traffic predictions for (YYYY-MM-DD).

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/schedules/traffic-ai?location_id&date'

Responses

🟢200OK
application/json
Predicted store traffic data
Body
array of:
hour
string 
optional
Example:
09:00
expected_customers
integer 
optional
Example:
50
Example
[
  {
    "hour": "09:00",
    "expected_customers": 50
  }
]
Previous
Export schedule data
Next
List all commission plans