201Successful Response
Schema: SuccessEnvelope_ESignStatusResponse_
successbooleanmessagestringcodestringdataESignStatusResponse
/api/v1/orders/{order_id}/esign/sendCreate an e-signature envelope for a draft or sent order and email it to the customer contact for signing. The request supplies the document (an https URL or an uploaded s3_key) since order PDFs are rendered client-side. A draft order is moved to sent. Returns 400 when e-signature is not configured, the order is in the wrong status, the customer has no email, or an envelope is already out.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
order_idstringrequiredSchema: ESignSendRequest
document_urlstringrequiredDocument to send for signature: an https URL or an uploaded s3_key (from POST /upload). Required because orders have no backend PDF generator — the caller supplies the rendered order form.
subjectstringEmail subject for the signature request (defaults to one derived from the order number).
Schema: SuccessEnvelope_ESignStatusResponse_
successbooleanmessagestringcodestringdataESignStatusResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject