countTasks( )


Counts the number of tasks.

This endpoint returns the count of all tasks regardless of the task status.

Optionally, you can pass a filter to count only tasks based on specified criteria.

Authentication

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

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

Filtering options.

Returns
Return Type:Promise<CountTasksResponse>
Did this help?