shopping checkout update
shopping_checkout_updateUpdate checkout with a typed buyer (recommended for address/phone corrections) and/or a full checkout object. Buyer phone should be E.164 and country must be ISO-2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | Buyer-provided checkout contact and shipping details. Never invent PII; omit phone if unavailable. | |
| agent_id | Yes | Registered UCP Gateway UUID returned by register_ucp_profile; required for every Shopping tool. | |
| checkout | No | Optional full checkout replacement payload accepted by the provider. Prefer typed buyer for address/phone corrections; buyer address fields placed here are canonicalized into buyer/context/fulfillment with phone_number. Never include payment credentials. | |
| checkout_id | Yes | Provider checkout ID returned by checkout tools. | |
| merchant_domain | Yes | Merchant host such as 'outboundpower.com' or 'example.myshopify.com'. Do not include a URL scheme, localhost, private IP, file URL, or ftp URL. | |
| client_action_id | No | Optional UUID generated once for an explicit buyer/operator-confirmed cart or checkout mutation. Reuse only when retrying the same confirmed action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True for successful tool execution; false for structured tool errors. | |
| raw | No | Redacted raw provider or registry payload for debugging. Shape may vary by upstream endpoint. | |
| error | No | Structured tool error. | |
| message | Yes | Human-readable result summary or recovery message. | |
| checkout | No | Safe provider checkout summary including id, status, continue_url, totals, line_items, and messages when provided. | |
| warnings | No | Non-fatal checkout or handoff warnings. | |
| next_step | Yes | Recommended next step. Suggestions are non-binding and never authorize payment or state-changing actions. | |
| merchant_domain | No | Resolved merchant domain. | |
| partial_success | No | True when Shopify flagged the upstream result as an error but returned a usable checkout payload (id plus continue_url or recognized status). The gateway result is still actionable; this is not an order confirmation. | |
| upstream_is_error | No | True when the upstream Shopify MCP response set isError/ok:false while still returning a usable checkout payload. Present for debugging; does not make the gateway tool result an error. | |
| commerce_session_id | No | Internal gateway commerce session UUID when one was created. | |
| requires_escalation | No | True when Shopify requires the buyer to finish a step on the merchant-hosted checkout page (status requires_escalation/requires_buyer_input or escalation warnings). The continue_url is still actionable. |