Product Total Count
GET/openapi/2022-01/products/count
Count the number of products based on the provided filters.
Request
Query Parameters
Product's IDs, separated by comma, for example: 9e79ca1f-9ff2-409b-976f-98be343d38a3,9e79ca1f-9ff2-409b-976f-98be343d38ae
Product's title
Collection's ID, for example: 9e79ca1f-9ff2-409b-976f-98be343d38a3
Filter products created at or after date, for example: 2018-10-01T16:15:47-04:00
Filter products created at or before date, for example: 2018-10-01T16:15:47-04:00
Filter products last updated at or after date, for example: 2018-10-01T16:15:47-04:00
Filter products last updated at or before date, for example: 2018-10-01T16:15:47-04:00
Filter products published at or after date, for example: 2018-10-01T16:15:47-04:00
Filter products published at or before date, for example: 2018-10-01T16:15:47-04:00
Filter by published status: published, unpublished, any
Responses
- 200
- 422
- 500
200
- application/json
- Schema
- Example
- Result
Schema
0509{
"count": 509
}
{
"count": 509
}
422
- application/json
- Schema
- Example
- Result
Schema
{
"errors": [
"failed verification: the published status is invalid"
]
}
{"errors": ["failed verification: the published status is invalid"]}
500
- application/json
- Schema
- Example
- Result
Schema
{
"errors": [
"No context"
]
}
{"errors": ["No context"]}