Skip to main content

Exports

Export platform data in different formats for reports and integrations.

Exportable Resources

ResourceDescription
productsProduct catalog with prices
customersList of customers/billing accounts
invoicesInvoices with line items
subscriptionsActive subscriptions
plansPlan definitions
service_itemsService items (fiscal)
couponsCoupon codes
product_groupsProduct groups

Supported Formats

FormatDescription
csvComma-separated values (default)
xlsxExcel spreadsheet
jsonStructured JSON

Export Status

StatusDescription
pendingQueued for processing
processingBeing processed
completedReady for download
failedError during processing

Flow

  1. Create an export specifying the resource type and format
  2. The job is queued for asynchronous processing
  3. The worker fetches the data, applies filters, and generates the file
  4. The file is stored in S3 with a validity of 7 days
  5. The export is updated with the download URL

Export Fields

FieldDescription
Resource typeWhat to export
FormatCSV, XLSX, or JSON
StatusProcessing state
File nameAutomatically generated
File URLDownload link
SizeSize in bytes
Total rowsExported records
FiltersApplied filters
Expires at7 days after completion

Automatic Cleanup

Expired exports are automatically removed (S3 file + database record).