Skip to main content

Product Categories

The Product Categories resource allows you to manage and retrieve categories within a product series. Categories help organize products into logical groups, making it easier to display, filter, and manage products in your Lumytic instance or integrated applications.

Get Category by Series

Retrieves all categories associated with a specific product series. This endpoint is useful for displaying available categories for a series in dashboards, catalogs, or external integrations.

Endpoint:

GET
/product_development/v1/series/{series_id}/categories

Path Parameters:

  • series_id (integer): The unique ID of the product series.

Request Example

    curl -X GET "https://api.lumytic.com/product_development/v1/series/2/categories" \

-H "ApiKey: YOUR_API_KEY_HERE" \

-H "Content-Type: application/json"

-H "Accept-Language: en"

Response Example

{
"success": true,
"message": " Category data retrieved for series ID: 2",
"data": [
{
"id": "66",
"name": "back Wall Light"
},
{
"id": "23",
"name": "Batten Light"
}
]
}

Possible Error

CodeMessageDescription
400Bad RequestInvalid path parameters provided.
401UnauthorizedMissing or invalid API key.
404Not FoundNo product found with the specified ID.
500Internal Server ErrorAn unexpected error occurred on the server.