Update custom field

Endpoint for updating an existing custom field.

Path Params
string
required

A unique value identifying this custom field.

Body Params

The payload to create or update a custom field.

apply_to
array of objects
required

The groups this custom field applies to.

View the enum reference

apply_to*
Allowed:
config
required

The configuration of the custom field, containing field_type and metadata. The metadata structure depends on field_type: SELECT fields include a choices array, LOOKUP fields include an entity_type, and other types have empty metadata.

boolean

Whether the custom field is active.

boolean

Whether the custom field is set on line items instead of on the document.

boolean

Whether the custom field is visible.

string
length ≤ 100

The english name of the custom field.

string
length ≤ 100

The arabic name of the custom field.

Headers
string

Client-provided UUID to uniquely identify a request

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json