Logo
Profit.co's Public API Documentation

Update Progress Goal

POST https://api.profit.co/app/goals?a=updateGoalProgress&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

 

Body PARAM

Key Datatype Required Description 
a
string action type
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Access key of your Profit.co Account



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://api.profit.co/app/goals?a=updateGoalProgress&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=updateGoalProgress&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' -F '{"name"=>"sc", "value"=>"<STATUS_CODE>", "datatype"=>"string"}=' -F '{"name"=>"sn", "value"=>"<STATUS_NAME>", "datatype"=>"string"}=' -F '{"name"=>"progress", "value"=>"<PROGRESS_VALUE>", "datatype"=>"string"}=' -F '{"name"=>"comment", "value"=>"Test Comment", "datatype"=>"string"}=' -F '{"name"=>"goalId", "value"=>"<GOAL_ID>", "datatype"=>"string"}='

ENDPOINTS