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

Update a commission plan

PUT
/commissions/plans/{plan_id}
Commissions
Modify an existing commission plan.

Request

Path Params
plan_id
string 
required
The ID of the commission plan to update.
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 PUT '/commissions/plans/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "type": "steps",
    "details": [
        {}
    ]
}'

Responses

🟢200OK
application/json
Commission plan updated successfully
Body
object {0}
Example
{}
🟠404Record Not Found
🔴500Server Error
Modified at 2024-12-17 09:37:00
Previous
Add a new commission plan
Next
Delete a commission plan