cURL
curl --request POST \ --url https://api.withflex.com/v1/exports/{id}/cancel \ --header 'Authorization: Bearer <token>'
{ "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>" } } } }
Cancel a new export function
Use a Bearer token to access this API.
Export defines the export_type and filters needed to export a file Export types are supported for Payments, Subscriptions, Customers, CheckoutSession
Show child attributes