updateDocument

abstract fun updateDocument(documentId: String, parameters: JSONObject, onSuccess: (String) -> Unit, onError: (String) -> Unit)

Update data for a previously processed document, including almost any field like vendor, date, notes and etc.

Parameters

documentId

ID of the document you'd like to update.

parameters

Additional request parameters

onSuccess

Async callback in success case.

onError

Async callback in error case.