ZRM Docs
API ReferenceQuote

quote.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
nameunknownNoName
opportunityIdstringYesID of the associated opportunity
siteIdunknownNoID of the associated site
statusenum(draft, sent, accepted, changes_requested, paid, rejected, expired)Yes"draft"Status
pricingModelenum(fixed, time_and_materials, hybrid)YesPricing model
assumptionsunknownNoAssumptions
exclusionsunknownNoExclusions
aiNarrativeunknownNoAi narrative
generatedByAgentRoleunknownNoGenerated by agent role
termsunknownNoTerms
expirationDateunknownNoExpiration date
preparedByUserIdunknownNoID of the associated prepared by user
approvedByUserIdunknownNoID of the associated approved by user
scopeOfWorkunknownNoScope of work
warrantyTermsunknownNoWarranty terms
permitRequiredbooleanYesfalsePermit required
permitNotesunknownNoPermit notes
insuranceRequirementsunknownNoInsurance requirements
projectTimelineEstimateunknownNoProject timeline estimate
internalNotesunknownNoInternal notes
approvalNotesunknownNoApproval notes
customerPoNumberunknownNoCustomer po number
revisionNotesunknownNoRevision notes
discountTypeunknownNoDiscount type
discountValueunknownNoDiscount value
taxExemptbooleanYesfalseTax exempt
paymentTermTemplateIdunknownNoID of the associated payment term template
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Example

{
  "name": null,
  "opportunityId": "550e8400-e29b-41d4-a716-446655440000",
  "siteId": null,
  "status": "draft",
  "pricingModel": "fixed",
  "assumptions": null,
  "permitRequired": false,
  "taxExempt": false,
  "visibilityMode": "global"
}

On this page