# 2026-05-11: Product Service - code on dynamic variant variants map entries

## Overview

For `DYNAMIC_VARIANT` root products, each entry in the denormalized `variants` map now includes `code`: the business code of the corresponding variant product (the same value as on the variant product itself). This lets storefronts and integrations read SKU-style identifiers from the root response without an extra lookup.

Webhook event documentation for payloads that include the dynamic variant `variants` structure has been aligned with this field.

## Modified behavior

When you retrieve a dynamic variant **root** product, every key under `variants` includes:

* `code` — string, code of the source variant product

Existing fields such as `version`, `name`, `parentVariantId`, `sellable`, `dynamicVariantType`, and `variantAttributes` are unchanged.

## Known problems

There are no known problems.

## Links

* [How to work with dynamic variant products](/api-references/api-guides/products-labels-and-brands/product-service/product.md#how-to-work-with-dynamic-variant-products)
* [Events - Index Item](/api-references/api-guides/webhooks/webhook-events/events-index.md)


---

# 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/2026/2026-05-11-product-variants-code.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.
