# 2025-04-01: CE - Shared Orders

## Overview

In B2B scenarios, customers often act on behalf of multiple legal entities. To ensure accurate data access and proper segmentation, the storefront now identifies the company (legal entity) a user represents during each session.

## New features

| Feature                               | Benefit                                                                                                                                |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| **Legal entity recognition**          | You can now retrieve orders linked to the assigned company (legal entity), ensuring accurate order views and processing.               |
| **Improved authorization & security** | The `legalEntityId` is now embedded in the authorization token, ensuring secure and precise access to resources across the storefront. |
| **Frontend readiness**                | Maximize the efficiency of your storefront launch by utilizing pre-designed functionality, streamlining implementation processes.      |

## Fixes and improvements

None as this is a new feature.

## Known problems

No known problems at time of release.

## Documentation and links

User guides:

* Core Commerce: [Shared Orders](/ce/core-commerce/orders/shared-orders.md)
* Management Dashboard: [Customer Groups](/ce/management-dashboard/customer-management/customer-groups.md)
* Customer Use Case: [Company Related Orders and Customer Groups](/ce/customer-use-cases/scenarios-introduction/shared-orders.md)

API Reference:

* [Customer Service](/api-references/api-guides/companies-and-customers/client-management.md)
* [Cart Service](/api-references/api-guides/checkout/cart.md)
* [Checkout Service](/api-references/api-guides/checkout/checkout.md)
* [Order Service](/api-references/api-guides/orders/order.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/release-notes/archive/2025/2025-04-01-ce-shared-orders.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.
