Get the category tree with purchasable counts
GET/categories
ListCategories, the CategoryView: tree plus purchasable counts per category.
Request
Responses
- 200
- 304
- 400
- 404
- 500
The category tree.
Response Headers
Strong validator of this representation (quoted hex of its SHA-256 prefix). It changes whenever the served read changes: a new content revision, a price version bump, a listing flip or a category rename.
Freshness window every read may be cached for (CDN-friendly).
The If-None-Match value still matches; no body is sent.
Response Headers
Strong validator of this representation (quoted hex of its SHA-256 prefix). It changes whenever the served read changes: a new content revision, a price version bump, a listing flip or a category rename.
Freshness window every read may be cached for (CDN-friendly).
invalid-limit, invalid-cursor, unknown-query-parameter (search only) or malformed-request (a NUL in the query string of any route).
not-found (no such product, a stub row, or an id longer than 128 characters) or resource-not-found (a NUL in the request path, on any route).
internal-error; the detail never carries the internal message.