> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Update Record

- Component: `appmixer.zoho.bigin.UpdateRecord`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.zoho.bigin 1.0.0](https://connectors.appmixer.com/connector/appmixer.zoho.bigin/1.0.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.zoho.bigin/1.0.0/component/appmixer.zoho.bigin.UpdateRecord>

Update a record of a Bigin module. Only the fields given are changed.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Module (`module`) | select | The Bigin module. Companies are `Accounts` and pipeline records (deals) are `Pipelines` in the API. |
| Record ID (`recordId`) | text | The ID of the record, for example `2034020000000489022`. |
| Record Fields (`recordData`) | textarea | A JSON object of the field API names and the new values, for example `{"Stage": "Qualification", "Amount": 8000}`. Use List Fields to get the field API names. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.zoho.bigin.UpdateRecord",
  "label": "Update Record",
  "description": "Update a record of a Bigin module. Only the fields given are changed.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:zoho:bigin"
  },
  "quota": {
    "manager": "appmixer:zoho:bigin",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "module": {
            "type": "string",
            "enum": [
              "Contacts",
              "Pipelines",
              "Accounts",
              "Products",
              "Tasks",
              "Events",
              "Calls"
            ]
          },
          "recordId": {
            "type": "string"
          },
          "recordData": {
            "type": "string"
          }
        },
        "required": [
          "module",
          "recordId",
          "recordData"
        ]
      },
      "inspector": {
        "inputs": {
          "module": {
            "type": "select",
            "index": 1,
            "label": "Module",
            "defaultValue": "Contacts",
            "tooltip": "The Bigin module. Companies are <code>Accounts</code> and pipeline records (deals) are <code>Pipelines</code> in the API.",
            "options": [
              {
                "label": "Contacts",
                "value": "Contacts"
              },
              {
                "label": "Pipelines",
                "value": "Pipelines"
              },
              {
                "label": "Companies",
                "value": "Accounts"
              },
              {
                "label": "Products",
                "value": "Products"
              },
              {
                "label": "Tasks",
                "value": "Tasks"
              },
              {
                "label": "Events",
                "value": "Events"
              },
              {
                "label": "Calls",
                "value": "Calls"
              }
            ]
          },
          "recordId": {
            "type": "text",
            "index": 2,
            "label": "Record ID",
            "tooltip": "The ID of the record, for example <code>2034020000000489022</code>."
          },
          "recordData": {
            "type": "textarea",
            "index": 3,
            "label": "Record Fields",
            "tooltip": "A JSON object of the field API names and the new values, for example <code>{\"Stage\": \"Qualification\", \"Amount\": 8000}</code>. Use List Fields to get the field API names."
          }
        }
      }
    }
  ],
  "outPorts": [
    "out"
  ],
  "icon": "(data URI omitted)"
}
```
