- Home
- Staff Management
- Time Tracking
- Timesheets
- Schedules
- Commissions
- Sales Performance
- Payroll Management
- Checklists
Set sales goals
POST
/sales-performance/goals
Sales Performance
Request
Body Params application/json
location_id
string
required
goal_type
enum<string>
required
Allowed values:
generallabor-cost
goal_value
number
required
Example
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 ''
Responses
🟢201Created
application/json
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
Modified at 2024-12-17 09:39:55