v1

latestOpenAPI 3.0.02026-07-263365159.1 KB

Update Field

Modify specific field values within documents in your Docsumo account. This endpoint enables you to update extracted data fields for accuracy and correction purposes.

patch/api/v1/pik/apikey/{doc_id}/field/{field_id}/

Path parameters

doc_idstring required

The unique identifier for the user document.

field_idstring required

The unique identifier of the field to update.

Headers

apikeystring required

Request body

valuestring

The new value for the field.

Response

200

errorstring
error_codestring
messagestring
statusstring
status_codeinteger

Example response

{
  "data": {
    "doc_id": "daa7dee867084e05831a5f5d6383a78f",
    "format": "%s",
    "id": 1002001,
    "label": "Name",
    "original_value": "Sorina TEST 123",
    "section_name": "Seller Detail",
    "type": "string",
    "value": "foobar"
  },
  "message": "Successfully updated field value.",
  "status": "success",
  "status_code": 200
}