v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Ecommerce

Return all your categories

get/categories

Query parameters

limitinteger

Number of documents per page

offsetinteger

Index of the first document in the page

sort'asc' | 'desc'

Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed

idsstring[]

Filter by category ids

namestring

Filter by category name

modifiedSincestring

Filter (urlencoded) the categories modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.

createdSincestring

Filter (urlencoded) the categories created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.

Response

All categories listed

countinteger required

Number of categories

Example response

{
  "categories": [
    {
      "createdAt": "2017-05-12T12:30:00.000+0000",
      "isDeleted": true,
      "modifiedAt": "2017-05-12T12:30:00.000+0000",
      "name": "Electronics",
      "id": "C11",
      "url": "http://mydomain.com/category/clothing"
    }
  ],
  "count": 17655
}