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

Adjust a timesheet

PUT
/timesheets/{staff_id}/adjust
Timesheets
Adjust timesheet entries for a specific staff member.

Request

Path Params
staff_id
string 
required
The ID of the staff member.
Body Params application/json
adjustments
array [object {3}] 
required
shift_start
string <date-time>
optional
shift_end
string <date-time>
optional
breaks
array [object {2}] 
optional
Example
{
  "adjustments": [
    {
      "shift_start": "2019-08-24T14:15:22Z",
      "shift_end": "2019-08-24T14:15:22Z",
      "breaks": [
        {
          "break_start": "2019-08-24T14:15:22Z",
          "break_end": "2019-08-24T14:15:22Z"
        }
      ]
    }
  ]
}

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 '/timesheets//adjust' \
--header 'Content-Type: application/json' \
--data-raw '{
    "adjustments": [
        {
            "shift_start": "2019-08-24T14:15:22Z",
            "shift_end": "2019-08-24T14:15:22Z",
            "breaks": [
                {
                    "break_start": "2019-08-24T14:15:22Z",
                    "break_end": "2019-08-24T14:15:22Z"
                }
            ]
        }
    ]
}'

Responses

🟢200OK
application/json
Timesheet adjusted successfully
Body
staff_id
string 
optional
location_id
string 
optional
total_hours
number 
optional
shifts
array [object] 
optional
late
boolean 
optional
Example:
true
Example
{
  "staff_id": "string",
  "location_id": "string",
  "total_hours": 0,
  "shifts": [
    {}
  ],
  "late": true
}
🟠404Record Not Found
🔴500Server Error
Previous
Retrieve a staff member's timesheet
Next
Retrieve late staff