Version: 202201
Collection Count
GET/openapi/2022-01/collections/count
Retrieve the total number of collections that match specific criteria.
Request
Query Parameters
ids string
Collection's IDs, separated by comma, for example: 0097cfc8-6ec3-40ed,40ed-ab9f-6f2231b7
updated_at_min string
Filter collections updated at or after date; Must follow RFC 3339 date-time format, for example: 2018-10-01T16:15:47-04:00
updated_at_max string
Filter collections updated at or before date;Must follow RFC 3339 date-time format, for example: 2018-10-01T16:15:47-04:00
Responses
- 200
- 404
- 422
200
- application/json
- Schema
- Example
- Result
Schema
countinteger
Default value:
0Example:
1{
"count": 1
}
{
"count": 1
}
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"store is not active"
]
}
{"errors": ["store is not active"]}
422
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"UpdatedAtMin time format error"
]
}
{
"errors": [
"UpdatedAtMin time format error"
]
}