API: Categories

List all available catetgories

Specification
This API lets you retrieve the list of all categories available on each site.

Synchronous

This API is synchronous, and will return the body directly in the HTTP response.

Stores

By default, this API retrieves the list of categories available on the Kogan.com AU store.
Other stores may have a smaller sub-set of categories available.
For example, to see the categories available on Matt Blatt, use the store_code of mb.

Example

{
  "id": 0,
  "title": "Example Category",
  "slug": "example-category",
  "display": "Parent » Example Category",
  "departments": [
    "Department 1",
    "Department 2"
  ],
  "url": "https://www.kogan.com/au/shop/category/example-category/",
  "parent_category": 0
}

📘

Test environment

The test environment is not in-sync with the categories on the production site.

CSV

The list is also available as a CSV.

Columns:

  • DEPARTMENT: The department this category is under
  • CATEGORY: The name of the category
  • ID: The Kogan ID of this category
  • DISPLAY: When a category is nested, this is the full path, separated by “»”
  • EXAMPLE: The value to send to the API to use this category