v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Custom Fields

Update custom field

Endpoint for updating an existing custom field.

put/custom-fields/{id}/

Path parameters

idstring required

A unique value identifying this custom field.

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

apply_toApplyToEnum[] required

The groups this custom field applies to.

is_activeboolean
is_line_item_fieldboolean
is_visibleboolean
namestring

The english name of the custom field.

name_arstring

The arabic name of the custom field.

Response

apply_toApplyToEnum[] required

The groups this custom field applies to.

created_tsstring date-time required

The timestamp in UTC when the custom field was created.

field_type'TEXT' | 'LONG_TEXT' | 'NUMBER' | 'DATE' | 'SELECT' | 'LOOKUP' | 'CALCULATED' required
  • TEXT - TEXT
  • LONG_TEXT - LONG_TEXT
  • NUMBER - NUMBER
  • DATE - DATE
  • SELECT - SELECT
  • LOOKUP - LOOKUP
  • CALCULATED - CALCULATED

Full information for FieldTypeEnum

idstring required

The unique identifier of the custom field.

is_activeboolean
is_line_item_fieldboolean
modified_tsstring date-time required

The timestamp in UTC when the custom field was last modified.

namestring
name_arstring