GET
/v1/shop/products
curl \
--request GET 'https://classmanager.test/v1/shop/products'
Response examples (200)
{
"products": [
{
"id": "pcat_01jq6nbd7b8hvajm12rbycwazt",
"name": "Ballroom Costumes",
"category": "Hats",
"imgUrls": [
"https://example.com/image.png"
],
"minPrice": 1000,
"maxPrice": 1000,
"courses": [
"string"
],
"definingAttributes": [
"string"
],
"variants": [
{
"id": "var_01jqezwkq4s2qkep106djgbwjz",
"price": 5655,
"inStock": true,
"attributes": [
{
"id": "attr_01jqezwkq5es6ge03ag2qx17km",
"name": "Color",
"value": "Red"
}
]
}
]
}
]
}