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

KeyDatatypeRequiredDescription
idsstringThe product identifier to return.
limitstringDefault value: 50. The maximum number of products returned in the response
pagestringIndex of page of results to be returned.
namestringFilter by name.
status[visibility]stringFilter products based on the products visibility on the store's ecommerce.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

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}]}