post

/shopgate.catalog.getRootCategories.v1

This pipeline is used to retrieve the root categories of the shop

Request Body

Schema
object
sort
string

How to sort the result, if relevance is selected, the merchants shop system or import decides the order

Allowed Values: nameAsc, nameDesc, relevance
default: relevance

Responses

Successful response.

1 Example
Schema
object
categories
array[object]
id
string

the category-number or unique id inside this specific shop

required
name
string

the display-name of this category

required
productCount
integer

Combined number of prodcts in the current and all subcategories

1 validation + required
imageUrl
string

the category-image

required
childrenCount
integer

It is the number of direct sub categories

1 validation

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host