List categories

Retrieves all or a filtered list of categories based on provided parameters. For example, passing the price list ID retrieves all categories associated with that price list ID.

The API returns the list of categories with such details as category ID, category name, description, hierarchy ID, and the category's parent and child categories.

The API also executes visibility rules at runtime. The API executes one or more visibility rules on the root category and retrieves the list of categories. These visibility rules can include or exclude specific categories. The visibility rule must be associated with the price list to be executed at runtime.

Click Try It! to start a request and see the response here!