Updates the name of a specific document within a transaction.
PATCH
/v2/transactions/{transactionId}/documents/{documentId}
curl \
--request PATCH 'https://api.pre.transactiondesk.com/v2/transactions/{transactionId}/documents/{documentId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"documentName":"string"}'
Request examples
{
"documentName": "string"
}
Response examples (400)
{
"code": 400,
"message": "Request was not valid.",
"details": [
"string"
]
}
Response examples (401)
{
"code": 401,
"message": "Unauthorized. The user is not authenticated.",
"details": []
}
Response examples (404)
{
"code": 404,
"message": "Item not found.",
"details": []
}