countTasks( )


Counts the number of tasks.

This method returns the count of all tasks regardless of their status.

Optionally, you can specify a filter to count only tasks that meet certain 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>
Errors
428Failed Precondition

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?