GET
/
catalog
/
categories
/
{id}
curl --request GET \
  --url https://sandbox-api.violet.io/v1/catalog/categories/{id} \
  --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 category_id.

Headers

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

Path Parameters

id
string
required

Response

default - application/json

default response

Product Category