Get all categories

GET https://api.ecartapi.com/api/v2/categories

Searches for all the available categories.

FILTERS

FilterDescription
idsFilter categories by the ids given
limitLimit size of the search
pagePagination number.
sinceIdFilter categories since the Id given
nameFilter categories by name
productIdFilter categories by product id
siteIdFilter items by site id
offsetLower limit of the results block. Modifies the range of the results provided, range goes from offset to limit

Request Params

KeyDatatypeRequiredDescription
limitstringDefault 50. Quantity of documents to be returned in the response.
pagestringAllows iteration through the results.
sinceIdstringFilter results to be returned only after certain ID.
namestringFilter results based of the category name.
productIdstringFilter results based of products.
siteIdstringFilter results based of the site id.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"categories":[{"id":"228601135281","name":"Home page","description":null}],"page":{"next":null,"previous":null}}