> 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).

# appmixer.square.core.UpdateCustomer

- Component: `appmixer.square.core.UpdateCustomer`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.square 1.1.3](https://connectors.appmixer.com/connector/appmixer.square/1.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.square/1.1.3/component/appmixer.square.core.UpdateCustomer>

Update the profile information of an existing customer.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Customer Id (`customer_id`) | text | The unique identifier for the customer. |
| Given Name (`given_name`) | text | Updated given name of the customer. |
| Family Name (`family_name`) | text | Updated family name of the customer. |
| Email Address (`email_address`) | text | Updated email address of the customer. |
| Phone Number (`phone_number`) | text | Updated phone number (9-16 digits). Use national format for same-country customers or E.164 international format (+1234567890) for different countries. Special characters allowed: ( ) - . space |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.square.core.UpdateCustomer",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Update the profile information of an existing customer.",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:square"
  },
  "quota": {
    "manager": "appmixer:square",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "string"
          },
          "given_name": {
            "type": "string"
          },
          "family_name": {
            "type": "string"
          },
          "email_address": {
            "type": "string"
          },
          "phone_number": {
            "type": "string"
          }
        },
        "required": [
          "customer_id"
        ]
      },
      "inspector": {
        "inputs": {
          "customer_id": {
            "type": "text",
            "tooltip": "The unique identifier for the customer.",
            "label": "Customer Id",
            "index": 0
          },
          "given_name": {
            "type": "text",
            "tooltip": "Updated given name of the customer.",
            "label": "Given Name",
            "index": 1
          },
          "family_name": {
            "type": "text",
            "tooltip": "Updated family name of the customer.",
            "label": "Family Name",
            "index": 2
          },
          "email_address": {
            "type": "text",
            "tooltip": "Updated email address of the customer.",
            "label": "Email Address",
            "index": 3
          },
          "phone_number": {
            "type": "text",
            "tooltip": "Updated phone number (9-16 digits). Use national format for same-country customers or E.164 international format (+1234567890) for different countries. Special characters allowed: ( ) - . space",
            "label": "Phone Number",
            "index": 4
          }
        }
      }
    }
  ],
  "outPorts": [
    "out"
  ],
  "icon": "(data URI omitted)"
}
```
