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

Retrieve a specific Category given the slug.

Headers

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

Path Parameters

slug
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