# 2025-06-04: Order Service - cartId added

## Overview

A new attribute `cartId` has been added to the order object. The new field will have cartId of the cart associated with the order.

## Modified endpoints

| Endpoint                                                                                                                                                                             | Description                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------- |
| [Creating a new order](https://developer.emporix.io/api-guides-and-references/orders/order/api-reference/orders-tenant-managed#post-order-v2-tenant-salesorders)                     | New attribute `cartId` added. |
| [Retrieving orders](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-tenant-managed)                                                         | New attribute `cartId` added. |
| [Retrieving a specific order by ID](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-tenant-managed#get-order-v2-tenant-salesorders-orderid) | New attribute `cartId` added. |
| [Updating an order](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-tenant-managed#put-order-v2-tenant-salesorders-orderid)                 | New attribute `cartId` added. |
| [Partially updating an order](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-tenant-managed#patch-order-v2-tenant-salesorders-orderid)     | New attribute `cartId` added. |
| [Creating a new order](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-customer-managed#post-order-v2-tenant-orders)                        | New attribute `cartId` added. |
| [Retrieving order details](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-customer-managed#get-order-v2-tenant-orders-orderid)             | New attribute `cartId` added. |
| [Retrieving a list of orders](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-customer-managed#get-order-v2-tenant-orders)                  | New attribute `cartId` added. |

## Known problems

There are no known problems.
