Publish renewal terms to the Shopify app block (write)
publish_shopify_termsWRITE (admin key). Shopify store linked through the Checkbox Shopify app (get_site_status: shopify.connection "app"): publishes the engine-verified renewal terms + consent label for the site's real plan to the Checkbox app block. Read-only on the store except that app-owned metafield (no theme/product/checkout edits); safe to repeat. The merchant still places the "Renewal terms + consent" block once: give them theme_editor_url from the result. Then verify_site. shopify_not_connected: only the merchant can install the app in Shopify and click "Connect to Checkbox". terms_incomplete: follow next_action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "publish_shopify_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Plan / price id (default: detected). | |
| site | Yes | Site id (site_…); list_sites shows them. | |
| cancel_url | No | Cancellation URL to state (default: detected). |