Attach the executed contract file

POST/api/v1/orders/{order_id}/attach-contract-file

Attach an uploaded executed-contract PDF (the s3_key from POST /upload, or a URL) to a sent or signed order, without changing its status. Completes the presign → upload → attach flow so countersign can freeze the document reference into the contract.

Operation ID: attach_contract_file_api_v1_orders__order_id__attach_contract_file_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

order_idstringrequired

Request body

signed_contract_file_urlstringrequired

S3 key or URL of the executed contract PDF.

Responses

201Successful Response

successboolean
messagestring
codestring
dataapp__api__v1__schemas__orders__OrderResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject