Easyteam Retail
  1. Commissions
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. Commissions

Add a new commission plan

POST
/commissions/plans
Commissions
Create a new commission plan with steps or product-based commissions.

Request

Body Params application/json
name
string 
required
type
enum<string> 
required
Allowed values:
stepsproduct-based
details
array [object] 
required
Example
{
  "name": "string",
  "type": "steps",
  "details": [
    {}
  ]
}

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 '/commissions/plans' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "type": "steps",
    "details": [
        {}
    ]
}'

Responses

🟢201Created
application/json
Commission plan created successfully
Body
plan_id
string 
optional
name
string 
optional
type
enum<string> 
optional
Allowed values:
stepsproduct-based
details
array [object] 
optional
Example
{
  "plan_id": "string",
  "name": "string",
  "type": "steps",
  "details": [
    {}
  ]
}
🟠400Bad Request
🔴500Server Error
Previous
List all commission plans
Next
Update a commission plan