List Categories

Definition

This endpoint will allow you to retrieve the category tree for CDON articles.

URL Structure

When fetching the category tree you will need to supply market and language for the tree you want to fetch.

https://merchants-api.sandbox.cdon.com/api/v1/categories/SE/en-US/ will fetch the tree for the Swedish market in English, changing en-US to sv-SE will fetch the same tree but with Swedish names.

Response

The category tree will be returned as a list where each node has the following attributes:

AttributeDescription
idThe ID of the category.
nameName of the category.
pathThe path from the ancestor root category to the current category separated by dots.
search_friendly_nameSearch friendly name, if available.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

Market code (SE, DK, FI, NO)

Show Details
SESweden
DKDenmark
FIFinland
NONorway
Allowed:
string
enum
required

Language code (sv-SE, en-US, da-DK, fi-FI, nb-NO)

Show Details
sv-SESwedish
en-USEnglish
da-DKDanish
fi-FIFinnish
nb-NONorwegian Bokmal
Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json