---
title: Edit Shopify JSON
published: true
index: 40
---

# Edit Shopify JSON

Update theme templates and settings using the target theme's existing schemas.

| Context | What to provide |
| --- | --- |
| Required context | Target theme repository and a requested JSON change. |
| Optional context | Design reference, images, prepared preview URL, and an authorized Shopify store/theme for remote validation. |

**Execution requirements:** Repository writes, schema validation and browser verification outside Glue's read-only runner. Shopify sync/upload validation also needs exact-destination authorization.

## How to use

1. Invoke `$edit-shopify-json`; use `$preview-shopify-theme` separately if a preview needs preparing.
2. Review the JSON diff, schema checks, browser evidence, and any unsupported theme-code requirements.

## Examples

```text
Use $edit-shopify-json to reorder the existing homepage sections in this theme repository without changing Liquid or assets.
```

```text
Use $edit-shopify-json to match the supplied collection-page reference using existing settings. Verify the changes at the prepared preview URL and report any schema limitations.
```
