201Successful Response
Schema: SuccessEnvelope_ContractResponse_
successbooleanmessagestringcodestringdataContractResponse
/api/v1/contractsCreate a contract directly from the Contracts UI. Provide either an existing order to promote (order_id) or a full order payload (order) to draft and countersign in one step. Both paths run the order through countersign, so the contract keeps a frozen order as its provenance.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: ContractCreate
order_idstringExisting order to promote into a contract.
orderOrderCreateNew order to create and countersign in one step.
Schema: SuccessEnvelope_ContractResponse_
successbooleanmessagestringcodestringdataContractResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject