get https://{shopdomain}.myshoplaza.com/openapi/2022-01/data/count
Query the total number of Tasks created for the current store.
Requires
read_data
access scope.
The Data Query Task Count API is used to query the total number of tasks created for the current store.
This API is especially useful for:
- Monitoring the number of data query tasks associated with a store.
- Tracking task generation for auditing or reporting purposes.
- Managing the total query task load on a store.
Request Parameters
Public Request Parameters
Response Explanation
Public Response Parameters
Success Response
Field | Type | Description | Example |
---|---|---|---|
count | int | The total number of tasks. | 8 |
Error Response
Error responses in the API can be represented using two different fields: errors
and error
. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.
Field | Type | Example | Description |
---|---|---|---|
error | String | "page not found" | Indicates an error encountered during the process |
Error Detail
Status Code | Message | Possible Reason | Example Response |
---|---|---|---|
400 | Bad Request | Invalid input format or request structure (e.g., missing required fields or incorrect data types). | Bad Request |
Unauthorized | The request is missing valid authentication credentials or the credentials provided are invalid. | Unauthorized |