Custom Fields

Updates a custom field

Changed on

Update a custom field.

patch/api/v2/custom_fields/{id}

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/custom_fields/{id}
  • Auth
    none declared

Path parameters

idstring required

ID

Request body

Example request

{
  "data": {
    "type": "custom_fields",
    "attributes": {
      "name": "Priority",
      "field_type": "dropdown",
      "required": false,
      "filterable": true
    },
    "relationships": {
      "custom_field_section": {
        "data": {
          "type": "custom_field_sections",
          "id": "12"
        }
      }
    }
  }
}

Response

Single custom field

Example response

{
  "data": {
    "id": "53455",
    "type": "custom_fields",
    "attributes": {
      "name": "Priority",
      "field_type": "dropdown",
      "position": 1,
      "required": false,
      "filterable": true,
      "archived_at": null
    },
    "relationships": {
      "custom_field_section": {
        "data": {
          "type": "custom_field_sections",
          "id": "12"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new project_already_exported enum value to the // response property for the response status

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status