Reprice Line Decoration
POST/api/sales-orders/:salesOrder/lines/:salesOrderLine/decorations/:decoration/reprice
Re-run the decoration cost-rule engine for a single decoration spec and refresh its pro-forma estimate. Matching DecorationCostRule records are re-evaluated by priority and the resulting estimated_cost and per-category estimated cost lines are recomputed. Takes no request body.
Use this after editing cost rules or changing decoration attributes (method, stitch count, ink colors, placement) to recalculate the estimate without otherwise modifying the spec.
Requires permission: sales_orders.update.
Authentication: Requires Bearer token.
Request
Responses
- 200
OK
Response Headers
Content-Type