Categories

Список категорий (admin/system)

get/api/v1/categories

Request

  • Base URL: http://158.160.83.199:8000
  • URL: http://158.160.83.199:8000/api/v1/categories
  • Auth: HTTP bearer

Query parameters

limitinteger
offsetinteger
statusstring

DRAFT|ACTIVE|DISABLED

searchstring

Response

OK

Example response

{
  "items": [
    {
      "name": "Рестораны",
      "subname": "Еда и напитки",
      "description": "Кэшбэк за оплату в ресторанах и кафе",
      "short_description": "Рестораны и кафе",
      "icon_ref": "restaurant",
      "timestamps": {
        "created_at": "2026-01-15T10:30:00Z",
        "updated_at": "2026-03-01T14:00:00Z"
      },
      "budget": {
        "limit_rub": 50000,
        "spent_rub": 12300,
        "reserved_rub": 5000
      },
      "rules": [
        {
          "name": "Молодые пользователи",
          "description": "Пользователи от 18 до 30 лет",
          "enabled": true
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.