PARSER GUIDES
Update Field
PATCH
/api/v1/parsers/{parserId}/fields/{fieldId}
Update or rename a scalar field or table field. For table fields, columns is the full desired column list.
Authorization
bearerAuth
authorization: <token>
Your API key. Include it directly in the Authorization header as the API key value (e.g., 'authorization: your-api-key-here')
In: header
Path Parameters
parserId — string
The ID of the parser
Format: uuid
fieldId — string
The field name or ID
Request Body
application/json
id?string
name?string
type?string
Value in"text" | "number" | "date" | "boolean" | "currency" | "choice" | "list" | "table"
description?string|null
instructions?string|null
required?boolean
position?integer
options?array<string\>
columns?array<PublicField\>
Response Body
200
application/json
curl -X PATCH "https://api.PARSER.com/api/v1/parsers/d1458cd7-8692-488f-8b3f-0fddade05f9c/fields/Invoice Number" \ -H "Content-Type: application/json" \ -d '{}'
200
{
"fields": [
{
"id": "string",
"name": "string",
"type": "text",
"description": "string",
"instructions": "string",
"required": true,
"position": 0,
"options": [
"string"
],
"columns": [
{
"id": "string",
"name": "string",
"type": "text",
"description": "string",
"instructions": "string",
"required": true,
"position": 0,
"options": [
"string"
],
"columns": []
}
]
}
],
"reprocessRecommended": true
}
Create Field POSTCreate a scalar field or table field.Open guide →
Delete Field DELETENext PageOpen guide →