# `store.generation.set` Pin the store to a storefront generation (platform-driven after a MAJOR; the old generation keeps serving until then). Reversible — the pin routes, it never rewrites content. - **scope**: `store:admin` - **storefront-visible** (bumps the catalog generation): yes - **destructive**: no ## Payload | field | type | required | notes | |---|---|---|---| | `to` | integer (1..99) | yes | | ### JSON Schema ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "to": { "type": "integer", "minimum": 1, "maximum": 99 } }, "required": [ "to" ], "additionalProperties": false } ```