Partial update custom fieldCopy Pagepatch https://api.wafeq.com/v1/custom-fields/{id}/Endpoint for partially updating an existing custom field.Path ParamsidstringrequiredA unique value identifying this custom field.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataapply_toarray of objectsThe groups this custom field applies to.apply_toADD stringconfigThe 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.DATELONG_TEXTLOOKUPNUMBERSELECTTEXTCustomFieldDateModel objectis_activebooleantruefalseis_line_item_fieldbooleantruefalseis_visiblebooleantruefalsenamestringlength ≤ 100The english name of the custom field.name_arstringlength ≤ 100The arabic name of the custom field.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponses 200 400Validation error (e.g., invalid config, field type change while in use, or choice removal while in use). 403Permission denied or addon limit reached.Updated 22 days ago