Skip to main content

Get Bulk Regenerate Preflight for Financial Event Groups

GET 

/api/amazon/unified/financial-event-groups/bulk-regenerate/preflight

Returns a read-only impact summary for the Bulk Regenerate Accounting Transactions action, without making any changes. It inspects every financial event group that currently has accounting transactions and reports:

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

  • total - number of groups that have accounting transactions.
  • eligible - groups whose transactions can be safely deleted and regenerated (none are linked to an external accounting integration).
  • has_integration_links - groups that will be SKIPPED by the bulk regenerate because one or more of their transactions were pushed to an accounting integration (each with its internal id, the Amazon group_id, and linked_count).

Runs synchronously.

Query parameters:

  • integration_instance_ids (optional) - comma-separated integration instance IDs to scope the preview.

Request

Responses

OK

Response Headers
    Content-Type