v1

latestOpenAPI 3.0.32026-07-2431396640.5 KB
crm-v1-custom-fields

Atualizar campo personalizado

Atualizar campo personalizado

put/custom_fields/{custom_field_id}

Path parameters

custom_field_idstring required

ID do campo personalizado da negociação.

Request body

Example request

{
  "custom_field": {
    "for": "deal",
    "label": "Você gosta de praia? EDITADO",
    "options": [
      "Sim"
    ],
    "required": true,
    "type": "option"
  }
}

Response

Success

_idstring
allow_newboolean
created_atstring
forstring
idstring
labelstring
ordernumber
requiredboolean
typestring
uniqueboolean
updated_atstring
visibleboolean

Example response

{
  "_id": "63f7dc64fc9381002488f628",
  "created_at": "2023-02-23T18:36:36.966-03:00",
  "for": "deal",
  "id": "63f7dc64fc9381002488f628",
  "label": "Você gosta de praia? EDITADO",
  "type": "option",
  "updated_at": "2023-02-23T18:38:55.802-03:00"
}