cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/documents/{id} \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "deal": "<string>", "data": {}, "isSigned": true } '
{ "data": { "id": "<string>", "data": {}, "deal": "<string>", "isSigned": true }, "success": true }
Document is uniquely identified by id
The number of levels of related objects to include in the response
Deal has Document
Document has Data
Document is signed
Document Updated
Show child attributes
{ "id": "doc_5dk39d3j93jd", "deal": "Deal ID", "data": { "key": "value" }, "isSigned": true}