PATCH/projects/api/v3/companies/{companyId}/customfields/{customFieldId}.json

Update an existing company custom field value.

Edit a company custom field value.

Path Params

  • Name
    customFieldId
    Type
    integer
    required
    Description
  • Name
    companyId
    Type
    integer
    required
    Description

Body Params

    • Name
      customfieldCompany
      Type
      object
      Description
      CustomFieldValue contains all the information returned from a customfield.
    • Name
      customfieldCompanyOptions
      Type
      object

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      404
      Description
      404 Not Found No Data
    • Code
      409
      Type
      object
      Schema
      Description
      409 Conflict
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    200 OK

    responseCompany
    {  "customfieldCompany": {    "company": {      "id": 0,      "meta": {},      "type": "string"    },    "companyId": 0,    "countryCode": "string",    "createdAt": "string",    "createdBy": 0,    "currencySymbol": "string",    "customfield": {      "id": 0,      "meta": {},      "type": "string"    },    "customfieldId": 0,