Skip to content

H11 - List Catalog categories (parents and children) related to a Catalog category

Request

Call Frequency
Maximum usage: Every hour
Read More
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMIN
ROLE_PARTNER_PRODUCT_CONFIGURATI...
)
Query
hierarchystring

Catalog category code

max_levelinteger, (int32)

Number of children catalog category levels to retrieve. If not specified, all child catalog categories are retrieved

shop_idinteger, (int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/hierarchies?hierarchy=string&max_level=0&shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
hierarchiesArray of objectsrequired

List of hierarchies

Response
{ "hierarchies": [ { … }, { … }, { … } ] }