Hosted Theme Sync
Use this workflow when you want to edit a real Shoppex-hosted Liquid theme locally. The loop is:What You Need
- Shoppex CLI
- a Shoppex API key with
themes.readandthemes.write
Step 1: Create A Theme Development Key
In the Shoppex dashboard:- Open Settings -> Developer
- Open API Keys
- Click Create API Key
- Choose the Theme Development preset
- Copy the secret immediately
Step 2: Login
Step 3: Pull Source
.shoppex/theme.json. That file links the local folder to the remote theme id and source revision.
Step 4: Run Local Liquid Preview
theme-package.json.
Use live shop data instead of fixtures:
Step 5: Push Draft Source
- uploads the full local source snapshot
- replaces the remote draft source
- deletes remote draft files that you deleted locally
- validates the draft
- never publishes automatically
Step 6: Preview And Publish
Revision Mismatch
If someone changed the remote draft after your last pull, push stops with a revision mismatch. Safe fix:Recommended Daily Workflow
Next Steps
Local Development
Fixture data, live shop data, and local validation.
Editing Themes
Dashboard, CLI, Dev API, and MCP workflow.