---
updatedAt: 2025-11-11T00:10:30.000Z
agentTools:
  projectIndex: https://docs.interswitchgroup.com/llms.txt
---

# Get Product Categories

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "retail-ecosystem",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://retail-ecosystem-service.k8.isw.la"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/retail-ecosystem/api/v1/product-categories": {
      "get": {
        "summary": "Get Product Categories",
        "description": "",
        "operationId": "get-product-categories",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"statusCode\": 200,\n    \"message\": \"Successful\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Home Care & Toliletries\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Beverages\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Cereals\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Alcohol\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Beauty & Personal Care\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Biscuits & Sweets\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Drinks (Pet, Bottle & Cans)\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Noodles & Supagetti\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Baby Care\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Seasoning & Spices\"\n        }\n    ],\n    \"validation\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "statusCode": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "message": {
                      "type": "string",
                      "example": "Successful"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "name": {
                            "type": "string",
                            "example": "Home Care & Toliletries"
                          }
                        }
                      }
                    },
                    "validation": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authourization",
        "value": "Bearer <token>"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```