Create an export
Queues a CSV export. The type selects the dataset; search_params is an
optional Ransack query (same shape used by the q[...] params on list endpoints)
that filters which records are exported. Pass record_selection: "all" to
clear the filter server-side and export everything in scope.
Generation is asynchronous. Poll GET /admin/exports/{id} until done is true,
then redirect the browser to download_url to fetch the file.
Required scope: the read scope of the exported resource — read_products for product exports, read_customers for customer exports, etc. (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Body
application/json
Response
201 - application/json
export queued
Spree Admin SDK

