List categories
Retrieve product categories for the authenticated lab, optionally filtered by parent or active status. Returns a hierarchical tree by default or a flat list when requested.
Retrieve product categories for the authenticated lab, optionally filtered by parent or active status. Returns a hierarchical tree by default or a flat list when requested.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
falsefalseResponse Body
application/json
curl -X GET "https://example.com/categories"{ "categories": [ null ]}Get category image GET
Retrieve the image associated with a product category from R2 storage. Returns the raw image binary with appropriate content-type headers.
Reorder categories POST
Bulk update the sort order and parent assignments for product categories. Validates nesting depth constraints (max one level deep).