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

NameTypeDescription
customer_id requiredstringThe ID of the customer to update.
given_namestringThe given name (that is, the first name) associated with the customer profile.…
family_namestringThe family name (that is, the last name) associated with the customer profile.…
company_namestringA business name associated with the customer profile. The maximum length for…
nicknamestringA nickname for the customer profile. The maximum length for this value is 100…
email_addressstringThe email address associated with the customer profile. The maximum length for…
addressobjectThe physical address associated with the customer profile. Only new or changed…
phone_numberstringThe phone number associated with the customer profile. The phone number must…
reference_idstringAn optional second ID used to associate the customer profile with an entity in…
notestringA custom note associated with the customer profile.
birthdaystringThe birthday associated with the customer profile, in YYYY-MM-DD or MM-DD…
versionintegerThe current version of the customer profile. As a best practice, you should…
tax_idsobjectThe 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:

call_tool arguments
{
  "name": "square_api__update_customer",
  "arguments": {
    "customer_id": "…"
  }
}

Or connect the Square API server directly, which lists 308 tools including this one:

Run in your terminal
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 ….

More from Square API