← API reference
Mutation / commerce

generateEstimate

Generate an automated estimate by inferring operations, calculating costs, and creating estimate lines. Requires estimate:write permission.

Arguments

Customer, commercial terms (currency, margin, tax, validity), and the items to quote — each item's spec drives operation inference and cost calculation.

Returns GenerateEstimatePayload!

Explore in a view

Order Intake
View exact SDL
"""
Generate an automated estimate by inferring operations, calculating costs, and creating estimate lines. Requires estimate:write permission.
"""
generateEstimate(
  """
  Customer, commercial terms (currency, margin, tax, validity), and the items to quote — each item's spec drives operation inference and cost calculation.
  """
  input: GenerateEstimateInput!
): GenerateEstimatePayload! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.