201Successful Response
Schema: SuccessEnvelope_DealCreateOrderResponse_
successbooleanmessagestringcodestringdataDealCreateOrderResponse
/api/v1/o2c/deals/{deal_id}/create-orderOne-way handoff into Order-to-Cash (CreateOrderFromDealService): creates a customer if the deal has none yet, a project beneath it (unique per customer, case-insensitive), and a draft order pre-filled from the deal's estimates -- then freezes the deal by stamping customer_id / project_id / order_id. Atomic: any failure rolls back every write. Fails if the deal has already converted.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
deal_idstringrequiredSchema: DealCreateOrderRequest
project_namestringrequiredName for the new project created beneath the customer; must be unique (case-insensitively) among the customer's projects.
order_descriptionstringOrder description. Defaults to the deal's name.
Schema: SuccessEnvelope_DealCreateOrderResponse_
successbooleanmessagestringcodestringdataDealCreateOrderResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject