---
title: "Reporting — products export (csv, xls, xlsx)"
method: GET
path: "/reporting/products/export"
tags: ["Admin Reporting: Products"]
---

# Reporting — products export (csv, xls, xlsx)

`GET /reporting/products/export`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/reporting/products/export`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/reporting/products/export/get.ts> (a function with typed inputs; its response is checked against the schema)

Streams a product stat as a csv, xls or xlsx download (the admin Export button). REST only; send the Accept header matching the requested format. `?type=` picks the stat group; `?format=` accepts csv, xls or xlsx (default csv).

## Query parameters

- `type` string
- `format` 'csv' | 'xls' | 'xlsx'
- `start` string, date
- `end` string, date
- `channel` string

## Response `200`

AdminReportingProducts collection

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
