Update step
Update a step. Currently only possible to complete step notifications. All other steps must are completed if either all are skipped, or if the linked action has already been completed.
PUT /me/steps/{id}
Required scope:
- user:rw
Parameters
|
step * required string
|
Step type Possible values:signup, bills, salary, bank, budget, budget_category, notifications |
|
completed * required boolean
|
Is step completed. |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/steps/notifications \
-H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
-H "Content-Type: application/json" \
-X PUT \
-d '{json}'
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"step": "notifications",
"completed": true
}