updateTask( )


Updates a task.

Each time the task is updated, revision increments by 1. The existing revision must be included when updating the task. This ensures you're working with the latest task and prevents unintended overwrites.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Tasks
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Task ID.


taskUpdateTaskRequired

Task to update.


optionsUpdateTaskOptions
Returns
Return Type:Promise<Task>
Did this help?