GET /v1/shop/category

Returns all categories for a company

Responses

  • 200 application/json

    List of company product categories

    Hide response attribute Show response attribute object
    • categories array[object] Required
      Hide categories attributes Show categories attributes object
      • id string Required
      • name string Required
GET /v1/shop/category
curl \
 --request GET 'https://classmanager.test/v1/shop/category'
Response examples (200)
{
  "categories": [
    {
      "id": "pcat_01jq6nbd7b8hvajm12rbycwazt",
      "name": "Ballroom Costumes"
    }
  ]
}