Create order from estimate

POST/api/v1/orders/from-estimate/{estimate_id}

Convert a draft or accepted estimate into a new draft order. The customer, currency, description, and line items carry over (every line billed as a one-time flat fee); an optional project_id in the body attaches the order to a project. The estimate is marked converted and linked to the order — converting it a second time (or converting it to an invoice afterwards) is rejected.

Operation ID: create_order_from_estimate_api_v1_orders_from_estimate__estimate_id__post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

estimate_idstringrequired

Responses

201Successful Response

successboolean
messagestring
codestring
dataapp__api__v1__schemas__orders__OrderResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject