Skip to main content

Purge Pre-Start Financial Event Groups

POST 

/api/amazon/unified/financial-event-groups/purge-pre-start

Queues a background job that deletes every Amazon financial event group (settlement transaction) whose settlement period starts BEFORE the account's inventory start date, along with its settlement data. These historical records predate inventory tracking and will never have matching settlement reports. Run GET .../purge-pre-start/preflight first to review exactly which groups will be removed.

Authorization

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

The deletion happens asynchronously after this request returns; the response only confirms that the background job was dispatched (no job id is returned).

Body fields:

  • confirmation (required, string) - must be exactly PURGE.
  • integration_instance_ids (optional, array of integers or comma-separated string) - scopes the purge to specific Amazon integration instances.

Request

Responses

OK

Response Headers
    Content-Type