Admin Customer GDPR
Export GDPR requests as csv, xls or xlsx
Changed onDownloads the GDPR requests datagrid — the same columns the admin Export button produces (ID, Customer Name, Status, Type, Message, Created At). Honours the same filters as the listing and exports every matching row. Binary download, not JSON. Requires customers.gdpr_requests.
get/customers/gdpr-requests/export
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
format'csv' | 'xls' | 'xlsx'
Export format: csv, xls or xlsx. Defaults to csv.
statusstring
Status.
typestring
Type (update or delete).
customer_idinteger
Customer ID.
emailstring
Partial email match.
customer_namestring
Partial customer name match.
created_at_fromstring
Created on or after (YYYY-MM-DD).
created_at_tostring
Created on or before (YYYY-MM-DD).
Response
Export file downloaded as an attachment.
Changes
- info
endpoint added
- info