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

NameTypeDescription
order_id requiredstringThe ID of the order to update.
orderobjectThe sparse order containing only the fields to update and the version to which…
fields_to_cleararrayThe dot notation paths fields to clear. For example, line_items[uid].note. For…
idempotency_keystringA 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:

call_tool arguments
{
  "name": "square_api__update_order",
  "arguments": {
    "order_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 updateorder tool with order_id set to ….

More from Square API