Skip to main content

bulkConfigureProductAccounting

Creates (or updates) the internal accounting item for many products at once, applying the same settings to every selected product, and optionally pushes them to the accounting provider afterward.

Each product's accounting item is filled from the integration's configured defaults for the given item type; any account override supplied here is layered on top so the whole batch is set to the same income / expense / asset accounts. Runs asynchronously — subscribe to processStatusUpdates with the returned processId for progress, per-product failures, and completion.

Business Rules​

  • The integration must be a connected accounting integration for the company.
  • At least one product must be selected.
  • All selected products receive identical settings; different groupings are separate runs.
  • When pushAfterCreate is true, only the products whose record was created successfully are queued for the push.

Error Scenarios​

  • **VALIDATION**: no products selected.
  • **NOT_FOUND**: no accounting integration is connected for the company.

Permissions Required​

  • accounting:configure_product_accounting permission (create).
  • accounting:push_item permission is additionally required when pushAfterCreate is true.
bulkConfigureProductAccounting(
input: BulkConfigureProductAccountingInput!
): AsynchronousActionResponse!

Arguments​

bulkConfigureProductAccounting.input ● BulkConfigureProductAccountingInput! non-null input common​

Parameters for BulkConfigureProductAccounting

Type​

AsynchronousActionResponse object common​

Asynchronous action response type