Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Shop\Products\Models\Product Filters: 0, 2
-
App\Shop\Products\Models\Product Sorting by name, createdAt
-
Determines whether to return only archived records in the response.
-
Determines whether to return with archived records in the response.
GET
/v1/shop/companyproducts
curl \
--request GET 'https://api-dev.classmanager.io/v1/shop/companyproducts'
Response examples (200)
{
"data": [
{
"id": "_prod_01jqezwks93avxb25hcbvsykxq",
"productId": "prod_01jqezwks93avxb25hcbvsykxq",
"createdAt": "2025-03-28T18:23:06Z",
"category": "Costumes",
"name": "Ballroom Gown",
"imgUrl": "https://example.com/image.jpg",
"minPrice": 1829,
"maxPrice": 9978,
"variantCount": 24,
"archivedAt": "2025-03-28T18:23:06Z"
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}