201Successful Response
Schema: app__core__success__SuccessEnvelope_OrderResponse___1
successbooleanmessagestringcodestringdataapp__api__v1__schemas__orders__OrderResponse
/api/v1/orders/{order_id}/attach-contract-fileAttach an uploaded executed-contract PDF (the s3_key from POST /upload, or a URL) to a sent, signed or countersigned order. Completes the presign → upload → attach flow so countersign can freeze the document reference into the contract. Attaching to a sent order also marks it signed — the executed copy is the customer's signature — so the stage can be finished.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
order_idstringrequiredSchema: OrderAttachContractFileRequest
signed_contract_file_urlstringrequiredS3 key or URL of the executed contract PDF.
Schema: app__core__success__SuccessEnvelope_OrderResponse___1
successbooleanmessagestringcodestringdataapp__api__v1__schemas__orders__OrderResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject