# Retrieve all categories Retrieve Wallaop's complete category hierarchy for items. This list will help you identify the categories that best classify the items you want to sell. Endpoint: GET /items/categories Version: 0.0.1 Security: oAuthWithPKCE ## Header parameters: - `Accept-Language` (string) The language of the category title will be returned when it has translations in different languages. Example: "es" ## Response 200 fields (application/json): - `categories` (array) Wallapop's category hierarchy used to classify items. Some categories serve as grouping mechanisms, while others can be assigned to items. - `categories.id` (integer) The ID of the category. Example: 24200 - `categories.parent_id` (integer) If the category is a subcategory, the parent_id indicates the category it is logically nested under. It returns null if the category is a root-level category, meaning it is not nested under another category. Example: 24200 - `categories.name` (string) The category name will be translated according to the Accept-Language header. If Wallapop does not support the language, it will default to English. Example: "Tecnología y electrónica" - `categories.assignable_to_item` (boolean) When set to true, a category can be assigned to an item. If set to false, it acts as a parent category and cannot be selected directly, containing more specific subcategories. Wallapop encourages users to choose the most specific subcategory, so top-level and intermediate categories in certain trees cannot be assigned to items. - `categories.subcategories` (array) A list of subcategories that are logically nested under this category. An empty list in the response indicates that the category can be assigned to an item and that there are no specific subcategories available for selection. Example: [{"id":10414,"parent_id":24200,"name":"TV","assignable_to_item":true}]