Skip to main content
GET
/
merchant
/
{merchantId}
/
category
/
{id}
Get Category Details
curl --request GET \
  --url https://api.satsuma.ai/merchant/{merchantId}/category/{id} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "id": "<string>",
    "merchant_id": "<string>",
    "external_id": "<string>",
    "name": "<string>",
    "parent_id": "<string>",
    "parent_external_id": "<string>",
    "level": "Department",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "depth": 123
  },
  "messages": [
    {
      "context": "<string>",
      "level": "Information",
      "text": "<string>",
      "data": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication

Path Parameters

id
string
required

Category identifier

Response

200 - application/json

OK

data
object
messages
object[]