update_shopify_order
Update a Shopify order destructive
Description
Change an order on the merchant's Shopify store: its note, tags (tags replaces the list; addTags / removeTags change it), PO number and additional details (customAttributes), and the buyer's email or shipping address (the whole address is replaced, so send every line; parcels already shipped keep the old one, and Shopify may recalculate taxes). Note, tags, PO number and details apply at once and are read back. An email or address change is a preview until confirm:true: show the user the before and after, get a yes, then call again with confirm:true. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | string | the order number as the store shows it (#1001) or its gid://shopify/Order/… id |
note | string | |
tags | string[] | the new tag list (replaces it) |
addTags | string[] | |
removeTags | string[] | |
poNumber | string | |
customAttributes | object[] | the order's additional details (replaces them) |
customAttributes[].keyrequired | string | |
customAttributes[].valuerequired | string | |
email | string | the buyer's email on this order |
shippingAddress | object | |
shippingAddress.firstName | string | |
shippingAddress.lastName | string | |
shippingAddress.company | string | |
shippingAddress.address1 | string | |
shippingAddress.address2 | string | |
shippingAddress.city | string | |
shippingAddress.provinceCode | string | state or province code, e.g. CA |
shippingAddress.zip | string | |
shippingAddress.countryCoderequired | string | two letters, e.g. US |
shippingAddress.phone | string | |
confirm | boolean | true to apply an email or address change; without it nothing changes and the reply shows it |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_shopify_order.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_shopify_order","arguments":{"id":"<string>"}}}
CLI
hermoso call update_shopify_order --json '{"id":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
import_shopify_buyers_to_email_leadsAdd past Shopify buyers to the email leadsedit_shopify_order_itemsEdit the items on a Shopify ordershopify_sales_reportShopify sales reportfulfill_shopify_orderFulfil a Shopify orderlist_shopify_ordersList Shopify orderscancel_shopify_orderCancel a Shopify orderdisable_shopify_discount_codeDisable a Shopify discount coderefund_shopify_orderRefund a Shopify orderlist_shopify_discount_codesList Shopify discount codeslist_shopify_locationsList Shopify locations