curl --request POST \
--url https://api.withflex.com/v1/exports/{id}/cancel \
--header 'Authorization: Bearer <token>'
{
"export": {
"export_id": "<string>",
"description": "<string>",
"type": "product",
"status": "created",
"created_at": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"metadata": {},
"filters": {
"payment": {
"limit": 123,
"status": "canceled",
"starting_after": "<string>",
"ending_before": "<string>",
"customer": "<string>"
}
},
"test_mode": true
}
}
Cancel a new export function
curl --request POST \
--url https://api.withflex.com/v1/exports/{id}/cancel \
--header 'Authorization: Bearer <token>'
{
"export": {
"export_id": "<string>",
"description": "<string>",
"type": "product",
"status": "created",
"created_at": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"metadata": {},
"filters": {
"payment": {
"limit": 123,
"status": "canceled",
"starting_after": "<string>",
"ending_before": "<string>",
"customer": "<string>"
}
},
"test_mode": true
}
}
Use a Bearer token to access this API.
The response is of type object
.