Calculate Line Item Pricing

Changed on

Stateless pricing calculator/preview — despite the path, this does NOT persist anything and takes no estimate_uid. It computes totals, tax, discounts, markup, and bundle roll-ups for an arbitrary line_items array, used by the frontend to preview pricing before saving via create/update estimate.

post/estimate/line_items

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/estimate/line_items
  • Auth
    API key in header x-api-key

Request body

taxobject[]
discountobject
feesobject[]
financingobject
override_totalboolean

Skip backend recompute of total/sub_total and trust client-sent values.

Response

200

typestring
messagestring

Example response

{
  "type": "success"
}

Changes