# 2026-03-23: Emporix SDK cartItem type replacement

## Overview

A new version `1.2.1` of the Emporix SDK has been released, introducing the following change:

* The `type` field has been removed from the `UpdateCartItem` DTO and replaced with `itemType`.

## Updated DTO

| DTO                 | Description                                                                           |
| ------------------- | ------------------------------------------------------------------------------------- |
| UpdateCartItem.java | The `type` field has been removed and replaced with `itemType` to align with the API. |

## Known Issues

If your code previously relied on the `type` field, it will no longer compile. Note, however, that this field was ignored by the Emporix API in earlier versions.


---

# 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-03-23-sdk.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.
