Download GDPR Data Export
| Endpoint | Method |
|---|---|
/api/admin/customers/{customerId}/gdpr-download-data | POST |
Wider than the storefront GDPR PDF
The storefront pdfView only exports orders + addresses. The admin API extends this to addresses + orders + reviews + wishlist + notes — full GDPR-style export. password and remember_token are stripped from the customer block.
Each sub-query is wrapped in try/catch so a missing optional table (e.g. wishlist on a non-storefront install) returns [] rather than 500ing.
Permission: customers.gdpr_requests.view.

