Easyteam Retail
  1. Sales Performance
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
    • Add a new commission plan
    • Update a commission plan
    • Delete a commission plan
    • Retrieve commission reports
    • Change order attribution
    • AI insights for sales increases
  • Sales Performance
    • Retrieve sales performance by location
      GET
    • Set sales goals
      POST
    • Check location goal status
      GET
    • AI-based sales goal prediction
      GET
    • Retrieve top-performing staff
      GET
  • 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. Sales Performance

Set sales goals

POST
/sales-performance/goals
Sales Performance
Set sales goals, either general goals or based on labor costs.

Request

Body Params application/json
location_id
string 
required
goal_type
enum<string> 
required
Allowed values:
generallabor-cost
goal_value
number 
required
Example
{
  "location_id": "string",
  "goal_type": "general",
  "goal_value": 0
}

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 POST '/sales-performance/goals' \
--header 'Content-Type: application/json' \
--data-raw '{
    "location_id": "string",
    "goal_type": "general",
    "goal_value": 0
}'

Responses

🟢201Created
application/json
Sales goal set successfully
Body
goal_id
string 
optional
location_id
string 
optional
goal_type
string 
optional
goal_value
number 
optional
Example
{
  "goal_id": "string",
  "location_id": "string",
  "goal_type": "string",
  "goal_value": 0
}
🟠400Bad Request
🔴500Server Error
Previous
Retrieve sales performance by location
Next
Check location goal status