Soft-archives the customer (sets status=archived) when there are non-draft invoices,
terminal subscriptions, valuable sources, or abandoned sources with payments.
Otherwise hard-deletes the customer and any draft invoices.
Documentation Index
Fetch the complete documentation index at: https://piriod-d406ac55.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Resource identifier.
Deleted or archived.