Skip to main content

Get Order Breakdown

GET 

/api/reporting/profitability/drilldown/:salesOrder/breakdown

Returns a full financial breakdown for a single order, including all line items, COGS, allocated costs, and financial line type values.

Required scope: reports:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token

Each line's financials and the order summary include indirect_cost_allocated (this order's revenue-weighted share of cost-entry / overhead allocations) and contribution_profit (profit minus that indirect share). These are standalone figures layered on top of profit — profit and total_cost are unchanged by them.

Request

Responses

OK

Response Headers
    Content-Type