## List the tenant's EGIS shopping carts (tenant:egis-cart:write)

`GET /api/trade/v1/itsp/egis/carts`

Module: Trade · operationId: `listEgisCarts` · Tag: ITSP · Auth: access token (`Authorization: Bearer <accessToken>`)

Only the carts shared with all employees of the EGIS partner (name prefix `(global)`); one EBC login per tenant.

### Responses

- **200** Carts (`application/json`)
- **400** EGIS is not set up. (`application/json`)
- **401** No valid session or bearer token (no body).
- **403** Missing permission, no active tenant in the token, or a missing CSRF token on a cookie write. (`application/json`)
- **502** A dependent service (DMS, masterdata, a distributor) failed or is unreachable. (`application/json`)
- **503** The configuration store is not available. (`application/json`)

Fields of the 200 answer:

- `carts` (array of EgisCart)
  - `label` (string): Name without the `(global)` prefix.
  - `name` (string): Name in EGIS.

Example 200 answer:

```json
{
  "carts": [
    {
      "label": "Einkauf",
      "name": "(global) Einkauf"
    },
    {
      "label": "Projekt Alpenhotel",
      "name": "(global) Projekt Alpenhotel"
    }
  ]
}
```

### Example request

```bash
curl -X GET 'https://api.mbcom.cloud/api/trade/v1/itsp/egis/carts' \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```
