Skip to main content

Preview Cost Line Type Impact

POST 

/api/trackstar/integration-instances/:integrationInstance/cost-line-type/preview

Preview how many Trackstar cost financial lines and sales orders would be touched if the fulfillment-cost financial line type changed to new_type_id. Read-only. Requires Bearer token.

Authorization

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

Request body:

  • new_type_id (optional, int|null): Proposed cost financial line type id. null = auto default. Must exist.

backfill_lines counts Trackstar fulfillments whose stored payload carries shipping_cost but have no line yet.

Request

Responses

OK

Response Headers
    Content-Type