Skip to main content

backfillOrderFinancials

Backfills order financial documents for orders that shipped within a date range. Each order is processed individually as an asynchronous operation, honoring the sales channel's invoicing scope (order, fulfillment, or shipment). Orders whose shipments are already covered by an active financial document are skipped.

Business Rules​

  • The date range spans at most 31 days and cannot end in the future
  • Omitting salesChannelIds backfills all of the company's sales channels

Permissions Required​

  • accounting:create_order_financial
backfillOrderFinancials(
input: BackfillOrderFinancialsInput!
): BackfillOrderFinancialsPayload

Arguments​

backfillOrderFinancials.input ● BackfillOrderFinancialsInput! non-null input common​

Parameters for BackfillOrderFinancials

Type​

BackfillOrderFinancialsPayload object common​

Autogenerated return type of BackfillOrderFinancials.