Home / Servers / Square API / add_group_to_customer

AddGroupToCustomer

An MCP tool from the Square API server, hosted on mcp.hjlabs.in.

AddGroupToCustomer Adds a group membership to a customer. The customer is identified by the customer_id value and the customer group is identified by the group_id value. [PUT /v2/customers/{customer_id}/groups/{group_id}]

Name on the gateway: square_api__add_group_to_customer · may change things.

Parameters

NameTypeDescription
customer_id requiredstringThe ID of the customer to add to a group.
group_id requiredstringThe ID of the customer group to add the customer to.

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__add_group_to_customer",
  "arguments": {
    "customer_id": "…",
    "group_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 addgrouptocustomer tool with customer_id set to ….

More from Square API