GET
/api/v1/storefront/projects/{project_slug}/categoriesList Categories
| Name | Type | In | Description |
|---|---|---|---|
| project_slug | string | path | Required. |
| page | integer | query | Optional. Page number (1-based) |
| page_size | integer | query | Optional. Number of items per page |
| Field | Type | Description | |
|---|---|---|---|
| id | string | required | — |
| parent_id | string (nullable) | optional | — |
| name | string | required | — |
| slug | string | required | — |
| description | string (nullable) | optional | — |
| position | integer | required | — |
| children | StorefrontCategoryRead[] | optional | — |
curl "https://api.webtools.ng/api/v1/storefront/projects/your-project/categories" \
-H "X-Project-Key: wt_pk_your_key"