Skip to main content

Preview Financial Line Type Impact

GET 

/api/veracore/integration-instances/:integration_instance/financial/preview-impact

Preview how many financial lines and sales orders would be affected if the fulfillment-cost financial line type configured on this Veracore integration instance were changed to new_type_id. This is a read-only computation — no data is modified.

Authorization

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

The preview compares the currently configured type against the proposed one for fulfillments in the warehouse linked to this instance:

  • rewire_lines — existing fulfillment-cost financial lines that would be moved from the old type to the new type.
  • backfill_lines — fulfillments with a cost that have no financial line of the new type yet and would get one created.
  • sales_orders_impacted — distinct sales orders touched by either change.
  • is_nooptrue when the change would have no effect (same type, no linked warehouse, or the proposed type is not a cost type).

Omit new_type_id (or send it empty) to preview clearing the setting.

Errors

  • 404 when the integration instance does not exist.
  • 422 when new_type_id is not an existing financial line type id.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type