curl --request POST \
--url https://api.withflex.com/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"export": {
"type": "product",
"description": "<string>",
"filters": {
"payment": {
"limit": 123,
"status": "canceled",
"starting_after": "<string>",
"ending_before": "<string>",
"customer": "<string>"
}
},
"metadata": {}
}
}
'{
"export": {
"export_id": "<string>",
"type": "product",
"status": "created",
"created_at": "<string>",
"test_mode": true,
"description": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"metadata": {},
"filters": {
"payment": {
"limit": 123,
"status": "canceled",
"starting_after": "<string>",
"ending_before": "<string>",
"customer": "<string>"
}
}
}
}Creates a new export function
curl --request POST \
--url https://api.withflex.com/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"export": {
"type": "product",
"description": "<string>",
"filters": {
"payment": {
"limit": 123,
"status": "canceled",
"starting_after": "<string>",
"ending_before": "<string>",
"customer": "<string>"
}
},
"metadata": {}
}
}
'{
"export": {
"export_id": "<string>",
"type": "product",
"status": "created",
"created_at": "<string>",
"test_mode": true,
"description": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"metadata": {},
"filters": {
"payment": {
"limit": 123,
"status": "canceled",
"starting_after": "<string>",
"ending_before": "<string>",
"customer": "<string>"
}
}
}
}Use a Bearer token to access this API.
Show child attributes
product, payment, subscription, customer, checkout_session, charge_reconciliation, payout Show child attributes
Show child attributes
canceled, processing, requires_action, requires_capture, requires_confirmation, requires_payment_method, succeeded Export defines the export_type and filters needed to export a file Export types are supported for Payments, Subscriptions, Customers, CheckoutSession
Show child attributes
The unique identifier for the export.
The export type for the export.
product, payment, subscription, customer, checkout_session, charge_reconciliation, payout The export status for the export.
created, started, cancelled, failed, processing, completed The date the export object was created.
Whether the export is in test mode
The description of the export.
The date the export functionality was started.
The date the export functionality was completed.
Metadata information for the export object
Filter information for the export object
Show child attributes
Show child attributes
canceled, processing, requires_action, requires_capture, requires_confirmation, requires_payment_method, succeeded