201Successful Response
Schema: SuccessEnvelope_DealResponse_
successbooleanmessagestringcodestringdataDealResponse
/api/v1/o2c/deals/{deal_id}/mark-lostClose an open deal as lost with a required reason.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
deal_idstringrequiredSchema: DealMarkLostRequest
reasonstringrequiredOne of ['competitor', 'no_budget', 'no_decision', 'other', 'poor_fit', 'price', 'timing'].
notestringOptional context on why it was lost.
Schema: SuccessEnvelope_DealResponse_
successbooleanmessagestringcodestringdataDealResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject