# Data exports

Section: Imports and exports. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/data-exports/

This page and all 16 operation pages, in 3 files: https://developer.yoprint.com/llms/data-exports.txt (operations 1 to 8), https://developer.yoprint.com/llms/data-exports-2.txt (operations 9 to 12), https://developer.yoprint.com/llms/data-exports-3.txt (operations 13 to 16)

Whole-team CSV exports from the Download Center: customers, products, sales orders, invoices, payments, tax and purchase orders. They run in the background; poll, then download.

## Operations (16)

- [List data exports](https://developer.yoprint.com/reference/data-exports/v1-data-export-index.md): `GET /v1/api/store/{team_slug}/data_export`. Lists your team's exports, newest first, 15 per page: everyone's, of every type and status, including exports whose file has expired.
- [List export types and their columns](https://developer.yoprint.com/reference/data-exports/v1-data-export-definitions.md): `GET /v1/api/store/{team_slug}/data_export/definitions`. Returns every export type with the columns you can ask for.
- [List export column presets](https://developer.yoprint.com/reference/data-exports/v1-data-export-presets.md): `GET /v1/api/store/{team_slug}/data_export/presets`. Lists the saved column choices (presets) you can use: the team's shared presets, and your own personal ones.
- [Get a data export](https://developer.yoprint.com/reference/data-exports/v1-data-export-show.md): `GET /v1/api/store/{team_slug}/data_export/{id}`. Returns one export.
- [Save an export column preset](https://developer.yoprint.com/reference/data-exports/v1-data-export-presets-store.md): `POST /v1/api/store/{team_slug}/data_export/presets`. Saves a named set of columns for one export type.
- [Delete an export column preset](https://developer.yoprint.com/reference/data-exports/v1-data-export-presets-delete.md): `DELETE /v1/api/store/{team_slug}/data_export/presets/{presetId}`. Deletes a preset for good.
- [Download a data export's file](https://developer.yoprint.com/reference/data-exports/v1-data-export-download.md): `GET /v1/api/store/{team_slug}/data_export/{id}/download`. Sends the export's CSV file itself, not JSON and not a link.
- [Export all customers to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-customer.md): `POST /v1/api/store/{team_slug}/data_export/export_customer`. Starts a CSV export of every customer on your team (deleted customers are left out).
- [Export invoices in a date range to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-invoice.md): `POST /v1/api/store/{team_slug}/data_export/export_invoice`. Starts a CSV export of invoices, one row per invoice, with the order, customer, shipping address, totals and payments.
- [Export invoice line items in a date range to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-invoice-item.md): `POST /v1/api/store/{team_slug}/data_export/export_invoice_item`. Starts a CSV export with one row per invoice line item: the order, invoice, job, product, services, quantity and totals.
- [Export payments and refunds in a date range to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-payment-list.md): `POST /v1/api/store/{team_slug}/data_export/export_payment_list`. Starts a CSV export of payments and refunds recorded on your team's orders, one row per payment or refund, with its amount, method and reference.
- [Export purchase orders in a date range to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-purchase-order-list.md): `POST /v1/api/store/{team_slug}/data_export/export_purchase_order_list`. Starts a CSV export of purchase orders whose issue date falls in the range, one row per purchase order, with the vendor, status, ordered and received totals, and the related sales orders and…
- [Export sales orders in a date range to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-sales-order.md): `POST /v1/api/store/{team_slug}/data_export/export_sales_order`. Starts a CSV export of your team's sales orders whose chosen date (`date_field`) falls in the range.
- [Export all simple products to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-simple-product-list.md): `POST /v1/api/store/{team_slug}/data_export/export_simple_product_list`. Starts a CSV export of your team's custom simple products (deleted products are left out).
- [Export the tax report for a date range to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-tax.md): `POST /v1/api/store/{team_slug}/data_export/export_tax`. Starts a CSV export of the tax report.
- [Export all variant products to CSV](https://developer.yoprint.com/reference/data-exports/v1-data-export-export-variant-product-list.md): `POST /v1/api/store/{team_slug}/data_export/export_variant_product_list`. Starts a CSV export of your team's custom variant products, one row per variant (size and color).
