/johnlewis/categories
Get a John Lewis category (navigation tree) by content id (or category URL): id, name, type, URL, SEO metadata, and the nested child tree of subcategories and browse links.
Price: 20 credits
💡 AI Hint: Fetch a John Lewis category hub by numeric content id or a category URL. Returns one item with id, content_id, name, type (e.g. DEPARTMENT), url, meta_title, meta_description, included_in_menus, and children — the nested navigation tree. Each child node has id, content_id, name, type (HEADER, CATEGORY_PAGE, PRODUCT_LIST, NAVIGATION_LINK), url and its own nested children. Use the browse/listing URLs found in the tree (or johnlewis/categories/products) to list the products within a category.
⚠️ Common errors: 412: Category not found (well-formed but nonexistent content id)
Authorizations
API token from the dashboard