Home / Servers / Square API / update_customer
UpdateCustomer
An MCP tool from the Square API server, hosted on mcp.hjlabs.in.
UpdateCustomer Updates a customer profile. This endpoint supports sparse updates, so only new or changed fields are required in the request. To add or update a field, specify the new value. To remove a field… [PUT /v2/customers/{customer_id}]
Name on the gateway: square_api__update_customer · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
customer_id required | string | The ID of the customer to update. |
given_name | string | The given name (that is, the first name) associated with the customer profile.… |
family_name | string | The family name (that is, the last name) associated with the customer profile.… |
company_name | string | A business name associated with the customer profile. The maximum length for… |
nickname | string | A nickname for the customer profile. The maximum length for this value is 100… |
email_address | string | The email address associated with the customer profile. The maximum length for… |
address | object | The physical address associated with the customer profile. Only new or changed… |
phone_number | string | The phone number associated with the customer profile. The phone number must… |
reference_id | string | An optional second ID used to associate the customer profile with an entity in… |
note | string | A custom note associated with the customer profile. |
birthday | string | The birthday associated with the customer profile, in YYYY-MM-DD or MM-DD… |
version | integer | The current version of the customer profile. As a best practice, you should… |
tax_ids | object | The tax ID associated with the customer profile. This field is available only… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "square_api__update_customer",
"arguments": {
"customer_id": "…"
}
}Or connect the Square API server directly, which lists 308 tools including this one:
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the updatecustomer tool with customer_id set to ….