API referenceStorefront

List categories

GET
/categories

Authorization

headerx-api-key<token>

Organization-scoped API key with scope metadata.

Query Parameters

parentId?string
depth?integer
Range0 <= value <= 9007199254740991

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api-prood.vercel.app/v1/categories'
Example Response
[  {    "id": "string",    "name": {      "property1": "string",      "property2": "string"    },    "slug": "string",    "description": {      "property1": "string",      "property2": "string"    },    "image": {      "url": "string",      "alt": "string",      "width": 0,      "height": 0    },    "parentId": "string",    "productCount": 0  }]