Stage changes as a draft (store not changed)
stage_changesSave changes to a live item (or app settings) as UNPUBLISHED changes (a draft). The live store does not change: it keeps the current version until the change is published (publish_draft or the merchant's Publish click), and the draft can be discarded. Repeated calls for the same item update that one set of unpublished changes (a value staged again replaces the earlier staged value; arrays replace the whole list in the draft). changes is a partial object in the write-guide field names. Popups shop settings (brand rules for the AI, the "popup code used" trigger, the daily expired-code clean-up) are kind 'shop' with id brandRules / redeemTrigger / codeCleanup.
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": {
"app": "<app>",
"id": "<id>",
"changes": "<changes>"
},
"name": "stage_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id from list_items ('settings' for apps with one settings object) | |
| app | Yes | Which EA app: sticky_cart = EA Sticky Add to Cart Drawer (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, every editor setting incl. custom CSS / HTML and templates, cart A/B tests, cart translations, checkout payment / shipping method rules); bundles = EA Bundles & Quantity Breaks (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA Email Popup & Spin Wheel (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA AI Language Translate (store translation and language selector); accessibility = EA Accessibility ADA WCAG EAA (accessibility widget and store accessibility scans); page_speed = EA SEO & Page Speed Optimizer (speed optimisations and SEO); free_shipping_bar = EA Free Shipping Bar & Upsell (free shipping progress bar); rewards_bar = EA Rewards Bar & Free Gifts (gift and rewards progress bar); announcement_bar = EA Announcement Bar Banner (announcement bar); countdown_bar = EA Countdown Timer Bar (countdown timer bar) | |
| kind | No | ||
| store | No | Which connected store (its myshopify address, e.g. other-store.myshopify.com). Leave it out for the default store; list_stores shows them. | |
| changes | Yes |