> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erp.arukz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Show category

> Retrieve a specific category by its ID



## OpenAPI

````yaml /api-reference/openapi.json get /admin/api/v1/products/categories/{id}
openapi: 3.0.3
info:
  title: ARUKZ ERP API
  version: v1
  description: >-
    The REST API of ARUKZ ERP: sales, purchases, inventory, products, partners,
    accounts, projects and reference data. Every call acts as the user whose
    token it carries and sees only that user's company.
servers:
  - url: https://erp.arukz.com
    description: ARUKZ ERP (hosted)
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Sign in for a token and sign out.
  - name: Sales
    description: Quotations, sales orders and their lines, deliveries and invoices.
  - name: Purchases
    description: Purchase orders, receipts, bills, agreements and vendor price lists.
  - name: Inventory
    description: >-
      Warehouses, locations, lots, stock quantities, receipts, deliveries,
      transfers and scrap.
  - name: Products
    description: 'The product catalogue: categories, attributes, variants and packaging.'
  - name: Partners
    description: Customers, vendors, contacts, addresses and bank accounts.
  - name: Accounts
    description: >-
      Invoices, bills, credit notes, refunds, taxes, journals and the chart of
      accounts.
  - name: Projects
    description: Projects, tasks, stages and milestones.
  - name: Reference data
    description: Currencies and rates, banks, countries, states and units of measure.
paths:
  /admin/api/v1/products/categories/{id}:
    get:
      tags:
        - Products
      summary: Show category
      description: Retrieve a specific category by its ID
      operationId: products-categories-show-category
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            description: The category ID
            example: 1
          description: The category ID
        - name: include
          in: query
          required: false
          schema:
            type: string
            description: |-
              Comma-separated list of relationships to include.

              **Available options:** parent, children, creator
            example: parent,children
          description: |-
            Comma-separated list of relationships to include.

            **Available options:** parent, children, creator
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  id: 1
                  name: All
                  full_name: All
                  parent_path: /
                  parent_id: null
                  creator_id: 1
                  created_at: '2025-01-28T10:49:51.000000Z'
                  updated_at: '2025-01-28T10:49:51.000000Z'
                  parent: null
                  children:
                    - id: 2
                      name: Consumable
                      full_name: All / Consumable
                      parent_path: /1/
                      parent_id: 1
                      creator_id: 1
                      created_at: '2025-01-28T10:50:15.000000Z'
                      updated_at: '2025-01-28T10:50:15.000000Z'
                    - id: 3
                      name: Expenses
                      full_name: All / Expenses
                      parent_path: /1/
                      parent_id: 1
                      creator_id: 1
                      created_at: '2025-01-28T10:55:42.000000Z'
                      updated_at: '2025-01-28T10:55:42.000000Z'
                    - id: 4
                      name: Home Construction
                      full_name: All / Home Construction
                      parent_path: /1/
                      parent_id: 1
                      creator_id: 1
                      created_at: '2025-01-28T10:55:56.000000Z'
                      updated_at: '2025-01-28T10:56:43.000000Z'
                    - id: 5
                      name: Internal
                      full_name: All / Internal
                      parent_path: /1/
                      parent_id: 1
                      creator_id: 1
                      created_at: '2025-01-28T10:56:07.000000Z'
                      updated_at: '2025-01-28T10:56:27.000000Z'
                    - id: 6
                      name: Saleable
                      full_name: All / Saleable
                      parent_path: /1/
                      parent_id: 1
                      creator_id: 1
                      created_at: '2025-01-28T10:56:55.000000Z'
                      updated_at: '2025-01-28T10:56:55.000000Z'
                    - id: 11
                      name: Electronic's Devices
                      full_name: All / Electronic's Devices
                      parent_path: /1/
                      parent_id: 1
                      creator_id: 1
                      created_at: '2025-04-08T03:34:44.000000Z'
                      updated_at: '2025-04-08T03:34:44.000000Z'
        '401':
          description: Unauthenticated
          content:
            application/json:
              example:
                message: Unauthenticated.
        '404':
          description: Category not found
          content:
            application/json:
              example:
                message: Resource not found.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API token from [Sign in](/api-reference/authentication), sent as
        `Authorization: Bearer <token>`. Tokens last 30 days.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.