# 2025-10-30: Cart Service - quoteId added

## Overview

New attribute added to cart:

* `quoteId` - this field contains the ID of the quote associated with the cart

When a quote is created from a cart using the [Creating a quote](https://developer.emporix.io/api-references/api-guides/quotes/quote/api-reference/quote-management#post-quote-tenant-quotes) endpoint, the cart is automatically closed and the `quoteId` is set on that cart. This ensures proper traceability between carts and their corresponding quotes.

## Modified endpoints

| Endpoint                                                                                                                                               | Description                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
| [Updating a cart](https://developer.emporix.io/api-references/api-guides/checkout/cart/api-reference/carts#put-cart-tenant-carts-cartid)               | New attribute `quoteId` added. |
| [Retrieving cart details by ID](https://developer.emporix.io/api-references/api-guides/checkout/cart/api-reference/carts#get-cart-tenant-carts-cartid) | New attribute `quoteId` added. |
| [Retrieving cart details by criteria](https://developer.emporix.io/api-references/api-guides/checkout/cart/api-reference/carts#get-cart-tenant-carts)  | New attribute `quoteId` added. |
| [Searching for carts](https://developer.emporix.io/api-references/api-guides/checkout/cart/api-reference/carts#post-cart-tenant-carts-search)          | New attribute `quoteId` added. |

## 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-10-30-cart-quote-id.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.
