Skip to content

List categories

GET
/listings/categories
curl --request GET \
--url 'https://acme.mykreezalid.com/api/partners/v1/listings/categories?page=1&limit=25' \
--header 'Authorization: Basic <credentials>'

Lists the marketplace’s listing categories. Use a category’s id as category_id when you create or update a listing.

page
integer
default: 1 >= 1

Page to return, starting at 1. Pages hold 25 results by default; keep requesting the next page until one comes back with fewer results than limit.

limit
integer
default: 25 >= 1 <= 100

Number of results per page, at most 100.

The marketplace’s categories.

Media typeapplication/json
object
categories
Array<object>
object
id
integer
title
string
page_title

Title of the category page.

string
nullable
description
string
nullable
slug
string
listing_count

Number of listings in the category.

integer

Example

{
"categories": [
{
"id": 12,
"title": "Bikes",
"slug": "bikes"
}
]
}

Missing or wrong API credentials.