theme.page.reset
Replace one page (or header/footer) in the workspace draft with the active theme's skeleton for it.
- scope:
design:write - storefront-visible (bumps the catalog generation): no
- destructive: yes — supports dryRun preview
Payload
| field | type | required | notes |
|---|---|---|---|
workspace | string (/^(main|ws_[A-Z0-9]{26})$/, default "main") | no | |
pageId | string (≤80 chars) | yes | |
expectedRev | integer (1..9007199254740991) | null | no |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"workspace": {
"default": "main",
"type": "string",
"pattern": "^(main|ws_[A-Z0-9]{26})$"
},
"pageId": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"expectedRev": {
"default": null,
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"pageId"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/theme.page.reset.md