# 2025-03-17: Order Service - new endpoints to fetch orders for a legal entity

## Overview

New endpoints have been introduced to retrieve orders for a legal entity. These endpoints allow fetching multiple orders or a specific order associated with a legal entity. The response structure remains identical to the existing order retrieval endpoints for tenants and customer-managed orders.

## New endpoints

| Endpoint                                                                                                                                                                                                 | Description                                                                                                                    |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [Retrieving legal entity orders](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-customer-managed#get-order-v2-tenant-legal-entity-orders-legalentityid)        | Retrieves a list of orders related to a particular legal entity for a customer. To be used by B2B customers on the storefront. |
| [Retrieving legal entity order](https://developer.emporix.io/api-references/api-guides/orders/order/api-reference/orders-customer-managed#get-order-v2-tenant-legal-entity-orders-legalentityid-orderid) | Retrieves an order related to a particular legal entity for a customer. To be used by B2B customers on the storefront.         |

## 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-03-17-order.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.
