Get all categories
GET https://api.ecartapi.com/api/v2/categories
Returns a list of categories.
More information about the ecommerce's resource.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | The product identifier to return. | |
limit | string | Default value: 50. The maximum number of products returned in the response | |
page | string | Index of page of results to be returned. | |
name | string | Filter by name. | |
status[visibility] | string | Filter products based on the products visibility on the store's ecommerce. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"categories":[{"id":"18","name":"Bath","description":null},{"id":"19","name":"Garden","description":null},{"id":"20","name":"Publications","description":null},{"id":"21","name":"Kitchen","description":null},{"id":"22","name":"Utility","description":null},{"id":"23","name":"Shop All","description":null},{"id":"24","name":"Clothes","description":null}]}