GET
/
catalog
/
categories
/
slug
/
{slug}
curl --request GET \
  --url https://sandbox-api.violet.io/v1/catalog/categories/slug/{slug} \
  --header 'X-Violet-App-Id: <x-violet-app-id>' \
  --header 'X-Violet-App-Secret: <x-violet-app-secret>' \
  --header 'X-Violet-Token: <x-violet-token>'
{
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "parent_id": "<string>",
  "depth": 123
}

Retrieve a specific Category given the slug.

Headers

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

Path Parameters

slug
string
required

Response

default - application/json

default response

Product Category