---
title: "Export EU withdrawals as csv, xls or xlsx"
method: GET
path: "/eu-withdrawals/export"
tags: ["Admin Sales: EU Withdrawal"]
---

# Export EU withdrawals as csv, xls or xlsx

`GET /eu-withdrawals/export`

## Request

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

Downloads the EU withdrawals datagrid — the same columns the admin Export button produces (Received At, Order, Customer Email, Status, Channel, Confirmation Sent, Reference). Honours the same filters as the listing and exports every matching row. Binary download, not JSON. Requires `sales.eu_withdrawals`.

## Query parameters

- `format` 'csv' | 'xls' | 'xlsx'
- `order_increment_id` string
- `customer_email` string
- `status` string
- `channel_code` string
- `received_at_from` string
- `received_at_to` string
- `confirmation_sent_at_from` string
- `confirmation_sent_at_to` string

## Response `200`

Export file downloaded as an attachment.

## Other responses

- `401`: Missing or invalid admin token.
- `403`: Admin role lacks sales.eu_withdrawals.
- `404`: Not found
- `422`: Unsupported format (csv, xls and xlsx only).

## Changes

- **2026-10-28** `3198f11be70f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/eu-withdrawals/export/get.md)

---

[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)
