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.
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 Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • Page Speed Boost (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown 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 |