---
title: "Get a product category"
method: GET
path: "/apps/{appId}/productcategory/{id}"
tags: ["hidden"]
---

# Get a product category

`GET /apps/{appId}/productcategory/{id}`

Get a Product category object by Id

## Path parameters

- `appId` integer, required
- `id` integer, required

## Query parameters

- `with_trashed` boolean

## Response `200`

Success

- ProductCategory
  - `id` integer
  - `name` string
  - `image` union
    - string, binary
    - string, uri
  - `parent` ProductCategory — recursive
  - `products` Product
    - `id` integer
    - `name` string
    - `amount_accurately` integer — Price without taxes in milli-cents
    - `vat_percent` integer — VAT rate in cents
    - `currency` string
    - `image` union
      - string, binary
      - string, uri
    - `lifetime` integer — Product life time in seconds
    - `description` string
    - `unity` string — Unity, hours, days, meters, liters..
    - `intangible` boolean — Is a service or a product ?
    - `quantity_name` string — Name of the quantity: days, liters, m2, m3...
    - `reference` string
    - `accounting_number` string
    - `tags` string[]
    - `category` ProductCategory — recursive
    - `metadata` unknown[], nullable
      - unknown

## Other responses

- `400` — Bad request
- `404` — Not found

---

[API](https://skmtc.net/sinao/apis/sinao-api.md) · [All operations](https://skmtc.net/sinao/apis/sinao-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinao/sinao-api/versions/436b47b78bf4/schema)
