cURL
curl --request POST \ --url https://commerce.driv.ly/api/documents \ --header 'Content-Type: application/json' \ --data '{ "id": "doc_5dk39d3j93jd", "deal": "Deal ID", "data": { "key": "value" }, "isSigned": true }'
{ "data": { "id": "doc_5dk39d3j93jd", "deal": "Deal ID", "data": { "key": "value" }, "isSigned": true }, "success": true }
The number of levels of related objects to include in the response
Document Created
The response is of type object.
object