GET
/
catalog
/
categories
/
{id}
curl --request GET \
  --url https://sandbox-api.violet.io/v1/catalog/categories/{id}
{
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "parent_id": "<string>",
  "depth": 123
}

Retrieve a specific Category given the category_id.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Path Parameters

id
string
required

Response

default - application/json
id
string
name
string
required

Category Name

slug
string
required

Category Slug

parent_id
string

Parent ID

depth
integer
required

Category Depth