Get list of categories and codes

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://content.doc.winkelstraat.nl/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Content API MCP server": {
    "url": "https://content.doc.winkelstraat.nl/mcp"
  }
}

Close
GET /api/rest/v1/retailer/categories/codes

This endpoint lists all categories and corresponding codes.

Responses

  • 200

    Return categories and codes

  • 401 application/json

    Authentication required

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • 403 application/json

    Access forbidden

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • 406 application/json

    Not Acceptable

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

GET /api/rest/v1/retailer/categories/codes
curl \
 --request GET 'https://content.winkelstraat.nl/api/rest/v1/retailer/categories/codes'
Response examples (200)
[
  {
    "code": "master",
    "parent": null,
    "labels": {
      "en_US": "Root",
      "nl_NL": "Root"
    },
    "hierarhy": [
      "master"
    ]
  },
  {
    "code": "17",
    "parent": "master",
    "labels": {
      "en_US": "Men",
      "nl_NL": "Heren"
    },
    "hierarhy": [
      "17",
      "master"
    ]
  }
]
Response examples (401)
401
Authentication is required
Response examples (401)
{
  "code": 42,
  "message": "string"
}
Response examples (403)
403
Access forbidden. You are not allowed to list categories.
Response examples (403)
{
  "code": 42,
  "message": "string"
}
Response examples (406)
406
‘xxx’ in ‘Accept‘ header is not valid. Only ‘application/json‘ is allowed.
Response examples (406)
{
  "code": 42,
  "message": "string"
}