200Successful Response
Schema: app__core__success__SuccessEnvelope_OrderResponse___1
successbooleanmessagestringcodestringdataapp__api__v1__schemas__orders__OrderResponse
/api/v1/orders/{order_id}Update a draft order (optionally replacing all lines; the order value is recomputed from them). Revert a sent/signed order to draft first to edit it.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
order_idstringrequiredSchema: OrderUpdate
customer_idstringproject_idstringorder_descriptionstringorder_start_datestringfirst_invoice_datestringterm_monthsintegerdiscount_centsintegertax_treatmentstringcurrencystringCurrency code (draft orders only).
linesarray · OrderLineInputReplace all lines when provided.
Schema: app__core__success__SuccessEnvelope_OrderResponse___1
successbooleanmessagestringcodestringdataapp__api__v1__schemas__orders__OrderResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject