# 2025-11-26: Product Service – category and customer segment IDs in product response

{% hint style="warning" %}
This functionality is in preview mode — some of the features may not be fully operational yet.
{% endhint %}

## Overview

Product retrieval responses now expose two new fields:

* `customerSegmentIds` – IDs of customer segments assigned to the product.
* `categoryIds` – IDs of categories assigned to the product.

Both attributes are read-only, available only in product retrieval responses as they are populated automatically when category or customer segment assignment is created. Currently, they remain in preview mode as they are not fully operational yet.

## Modified endpoints

| Endpoint                                                                                                                                                                               | Description                                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [Searching for products](https://developer.emporix.io/api-references/api-guides/products-labels-and-brands/product-service/api-reference/products#post-product-tenant-products-search) | Added `customerSegmentIds` and `categoryIds` attributes to the response. |
| [Retrieving all products](https://developer.emporix.io/api-references/api-guides/products-labels-and-brands/product-service/api-reference/products#get-product-tenant-products)        | Added `customerSegmentIds` and `categoryIds` attributes to the response. |
| [Retrieving a product](https://developer.emporix.io/api-references/api-guides/products-labels-and-brands/product-service/api-reference/products#get-product-tenant-products-productid) | Added `customerSegmentIds` and `categoryIds` attributes to the response. |

## Known problems

There are no known problems.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.emporix.io/changelog/archive/changelog-2025/2025-11-26-product.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
