updateDocument

open override fun updateDocument(documentId: String, parameters: JSONObject, @MainThread onSuccess: (String) -> Unit, @MainThread 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.