201Successful Response
Schema: SuccessEnvelope_EstimateResponse_
successbooleanmessagestringcodestringdataEstimateResponse
/api/v1/estimatesCreate a new estimate in draft status.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: EstimateCreate
customer_idstringrequiredCustomer to send estimate to
line_itemsarray · EstimateLineItemrequiredEstimateLineItemLine items
variant_idstringProduct variant ID or null for custom
descriptionstringrequiredLine item description
quantityintegerQuantity
unit_priceintegerrequiredUnit price in cents
amountintegerrequiredTotal amount in cents (qty * unit_price)
due_datestringProposed payment due date (YYYY-MM-DD)
expiration_datestringEstimate expiration date (YYYY-MM-DD)
descriptionstringEstimate description
internal_notesstringInternal notes
currencystringCurrency code
Schema: SuccessEnvelope_EstimateResponse_
successbooleanmessagestringcodestringdataEstimateResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject