Home / Servers / Square API / update_order
UpdateOrder
An MCP tool from the Square API server, hosted on mcp.hjlabs.in.
UpdateOrder Updates an open order by adding, replacing, or deleting fields. Orders with a COMPLETED or CANCELED state cannot be updated. An UpdateOrder request requires the following: - The order_id in the… [PUT /v2/orders/{order_id}]
Name on the gateway: square_api__update_order · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
order_id required | string | The ID of the order to update. |
order | object | The sparse order containing only the fields to update and the version to which… |
fields_to_clear | array | The dot notation paths fields to clear. For example, line_items[uid].note. For… |
idempotency_key | string | A value you specify that uniquely identifies this update request. If you are… |
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_order",
"arguments": {
"order_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 updateorder tool with order_id set to ….